-
Vasileios Thanasias
Has successfully completed the online course Basics (100)
2 years ago #35168Hi, 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äfner
Has 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 Certification
Has successfully completed the Advanced Certification
2 years 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äfner
Has 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 Certification
Has successfully completed the Advanced Certification
2 years 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.