Tuesday 16 May 2017

JSreport and Node.Js: how to generate a PDF file

I need to generate a PDF file in a Node.js server from HTML and CSS code.

I installed JSreport in a localhost Nginx server and it seems to do what I want: I enter to the web software, it receives HTML and CSS code and generate a PDF file.

Jsreport

Now the Node.js server receives some parameters (like person name) and then it have to call JSreport to generate the PDF file from a HTML file that I made.



via Roby Sottini

No comments:

Post a Comment