Node-html-pdf: Include a cover page

Created on 31 Aug 2016  路  3Comments  路  Source: marcbachmann/node-html-pdf

I Try to figure out if we could add a cover page

HTML page : https://redhat-microservices.github.io/lab_swarm_forge-keycloak/
PDF file generated using Ruby Prawnpdf : https://redhat-microservices.github.io/lab_swarm_forge-keycloak/README.pdf

Most helpful comment

It should be interesting to also provide such option maybe ?

All 3 comments

You can add a cover page by inserting html before the content of your print on the server, and then style the cover page with

.my-cover-page {
page-break-after: right
}

It should be interesting to also provide such option maybe ?

Hello, i have made a PR that adds the option of starting pagination after page 1. https://github.com/marcbachmann/node-html-pdf/pull/227

Was this page helpful?
0 / 5 - 0 ratings

Related issues

anmolgoyal74 picture anmolgoyal74  路  4Comments

wobsoriano picture wobsoriano  路  3Comments

qianweicheng picture qianweicheng  路  5Comments

tsp1996 picture tsp1996  路  5Comments

vivekiyer114 picture vivekiyer114  路  5Comments