-
Vasileios ThanasiasHas successfully completed the online course Basics (100)1 year ago #35168
Hi, I created dynamic PDFs with the PDF Generator Plugin.
I noticed sometimes when the pdf is more than 1 page, some text is truncated before the page change.
Is that a known issue? And what would be the solution?
Please check image below.
Jennifer HäfnerHas successfully completed the online course Intermediate (200)Has successfully completed the online course Advanced (300)Has successfully completed the online course Basics (100)Has successfully completed the online course Advanced (310)Has successfully completed the online course Advanced (320)Has successfully completed the Intermediate CertificationHas successfully completed the Advanced Certification1 year ago #35215::Hi Vasileios,
You can prevent your table being truncated by a page break by adding the following code to the CSS section:
table, tr, td, th, tbody, thead, tfoot{ page-break-inside: avoid !important; }
See the FAQ section of this knowledge base article: https://community.simplifier.io/knowledge/create-a-pdf-template-via-plugin/
Jennifer HäfnerHas successfully completed the online course Intermediate (200)Has successfully completed the online course Advanced (300)Has successfully completed the online course Basics (100)Has successfully completed the online course Advanced (310)Has successfully completed the online course Advanced (320)Has successfully completed the Intermediate CertificationHas successfully completed the Advanced Certification1 year ago #35283::Hi Satish,
When creating a PDF template, there is a tab called ‘Header’. Here, you can insert the HTML for your header, with the restriction that before the HTML, ‘<!DOCTYPE html>’ has to be inserted.
For example:
<!DOCTYPE html> <span>This is the header!</span>
You can also find the information here, under the section 2.2.2 Header/Footer: https://community.simplifier.io/knowledge/create-a-pdf-template-via-plugin/
You must be logged in to reply to this topic.