PDF text is truncated before new Page

Tagged:
  • Vasileios Thanasias
        Has 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ä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
        1 year ago #35215
        Up
        1
        Down
        ::

        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
          1 year ago #35283
          Up
          1
          Down
          ::

          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/Footerhttps://community.simplifier.io/knowledge/create-a-pdf-template-via-plugin/

          Satish
              1 year ago #35280
              Up
              0
              Down
              ::

              Hi Jennifer,

              Can we create a pdf which has the same header on all pages. And how we can achieve this.

              Thanks !

            Viewing 4 posts - 1 through 4 (of 4 total)

            You must be logged in to reply to this topic.