Closed apoorv601 closed 5 years ago
Hey @apoorv601, sorry I've been away. A couple suggestions:
footer
option you set in the options for jsPDF
doesn't do anything.pdf_pages.length
.Hi, the v0.9.0 API added ways to add extra content to the PDF (including header/footer) - see here for an example with page numbers.
Closing as resolved!
@eKoopmans From all the examples it's clear that we can add normal text to the pdf (i.e. page number) but, is there any way we can provide the dynamic header content in the pdf. For example, I want to repeat some specifically designed HTML headers and logo as a header on each page of the pdf so, is there any workaround for this? Please help if we have any solutions for this. because most of the libraries are failing to do that on the client-side.
@Jigisha-sublime Have you found any solution?
i have thead and tfoot in element so what to do to print that on every page of pdf
var element = document.getElementById('order-table');
Hi, I am using the following code but can't seem to get the header or footer in the pdf, can anybody suggest plz what am i doing wrong? Thanks in advance,