Last post Nov 02, 2020 05:41 AM by yij sun
Oct 30, 2020 08:28 PM|mnmhemaj|LINK
I am working with ejs to create pdf files. How can I get different header and footer for every page? When I use css, fixed-top:0 and fixed-bottom:0, all the headers and footers are printed in the first page.
Oct 30, 2020 09:40 PM|bruce (sqlwork.com)|LINK
you are using the wrong tool. you are using an html to pdf conversion, and html does not support variable page layouts. you probably want something more like:
Oct 31, 2020 08:35 AM|mnmhemaj|LINK
Hi Bruce! This pdfkit sounds interesting. But how can I display dynamic data inside the pdf file? My datasource is json object.
Nov 02, 2020 03:54 AMfirstname.lastname@example.org|LINK
if you are generate dynamic data in pdf the Rotativa tools is best for the generate data. The Rotativa is italian for rotary printing press.
If you have further details of generate dynamic data in pdf you can follow this link:
Nov 02, 2020 05:41 AM|yij sun|LINK
Accroding to your description,you could use ajax $.post to send json data.