HTML to PDF converter that uses phantomjs. html-pdf can read the header or footer either out of the footer and header config object or out of the HTML source. You can either set a default header & footer or overwrite that by appending a page number (1 based index) to the id="pageHeader" attribute of an HTML tag. You can use any combination of those tags. The library tries to find any element, that contains the page header or pageFooter id prefix. The full options object gets converted to JSON and will get passed to the phantomjs script as third argument. There are more options concerning the paperSize, header & footer options inside the phantomjs script.
Features
- The full options object gets converted to JSON and will get passed to the phantomjs script as third argument
- Install the html-pdf utility via npm
- HTML to PDF converter
- Uses phantomjs
- html-pdf can read the header or footer either out of the footer and header config object
- You can either set a default header & footer or overwrite that by appending a page number
License
MIT LicenseFollow node-html-pdf
Other Useful Business Software
$300 in Free Credit for Your Google Cloud Projects
Launch your next project with $300 in free Google Cloud credit—no hidden charges. Test, build, and deploy without risk. Use your credit across the Google Cloud platform to find what works best for your needs. After your credits are used, continue building with free monthly usage products. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of node-html-pdf!