Sample for dynamic and static HTML to PDF conversions.
nodejs
npm
npm install
nodejs app.js
Open a sample web page http://localhost:8080/
Invoke a conversion to PDF by pressing buttons at the bottom of the page.
If you wish to use your Pdfcrowd API license, replace demo credentials with your Pdfcrowd username and API key in app.js file. A free trial API license can be used too.
- API Home: https://pdfcrowd.com/doc/api/
- API Reference: https://pdfcrowd.com/doc/api/html-to-pdf/nodejs/