Search code examples
node.jswkhtmltopdf

Add page to PDF using Node WKHTMLTOPDF


I have a HTML template created using Handlebar. Let us say I want to create 10 HTML file from that. Now I want to print the 10 pages to the single pdf. How can I do so in wkhtmltopdf? How can I add pages in wkhtmltopdf? Any help will be highly appreciated.


Solution

  • In order to add multiple pages to the pdf we have to take help of css page break.