• Resolved Nathan

    (@natedanielz)


    Hi, I’ve formatted the PDF as per you example: https://cff.dwbooster.com/blog/2020/07/19/pdf-generator

    But the PDF is getting cut off

    Here is the HTML code:

    <!DOCTYPE html>
    <html lang="nl">
    <body>
    <table border="0" style="width:100%">
      <tr>
        <td width="100%">
    			<b>Verlofaanvraag</b>
    			<br />
    				<%fieldname1_value if_not_empty%>
    			<br />
    				<%fieldname2_value if_not_empty%>
    			<br />
    				<%fieldname3_value if_not_empty%>
    			<br />
    				<%fieldname4_value if_not_empty%>
    			<br />
    				<%fieldname5_value if_not_empty%>
    			<br />
    				<%fieldname6_value if_not_empty%>
    			<br />
    			<br />
    			<p><b>Data verlof</b></p>
    				<b><%fieldname33_value if_not_empty%>
    			<br />
    				<%fieldname31_label if_not_empty%>&nbsp;<%fieldname31_value if_not_empty%></b>
    			<br><br>
    				<%fieldname10_label if_not_empty%>&nbsp;<%fieldname10_value if_not_empty%>
    			<br />
    				<%fieldname11_label if_not_empty%>&nbsp;<%fieldname11_value if_not_empty%>
    			<br />
    				<%fieldname12_label if_not_empty%>&nbsp;<%fieldname12_value if_not_empty%>
    			<br />
    				<%fieldname13_label if_not_empty%>&nbsp;<%fieldname13_value if_not_empty%>
    			<br />
    				<%fieldname14_label if_not_empty%>&nbsp;<%fieldname14_value if_not_empty%>
    			<br />
    				<%fieldname15_label if_not_empty%>&nbsp;<%fieldname15_value if_not_empty%>
    			<br />
    				<%fieldname16_label if_not_empty%>&nbsp;<%fieldname16_value if_not_empty%>
    			<br><br>
    				<b><%fieldname37_value if_not_empty%>
    			<br />
    				<%fieldname38_label if_not_empty%>&nbsp;<%fieldname38_value if_not_empty%></b>
    			<br>
    				<%fieldname39_label if_not_empty%>&nbsp;<%fieldname39_value if_not_empty%>
    			<br />
    				<%fieldname40_label if_not_empty%>&nbsp;<%fieldname40_value if_not_empty%>
    			<br />
    				<%fieldname41_label if_not_empty%>&nbsp;<%fieldname41_value if_not_empty%>
    			<br />
    				<%fieldname42_label if_not_empty%>&nbsp;<%fieldname42_value if_not_empty%>
    			<br />
    				<%fieldname43_label if_not_empty%>&nbsp;<%fieldname43_value if_not_empty%>
    			<br />
    				<%fieldname44_label if_not_empty%>&nbsp;<%fieldname44_value if_not_empty%>
    			<br />
    				<%fieldname45_label if_not_empty%>&nbsp;<%fieldname45_value if_not_empty%>
    			<br />
    				<%fieldname46_label if_not_empty%>&nbsp;<%fieldname46_value if_not_empty%>
    			<br><br>
    				<b><%fieldname51_value if_not_empty%>
    			<br />
    				<%fieldname52_label if_not_empty%>&nbsp;<%fieldname52_value if_not_empty%></b>
    			<br />
    				<%fieldname53_label if_not_empty%>&nbsp;<%fieldname53_value if_not_empty%>
    			<br />
    				<%fieldname54_label if_not_empty%>&nbsp;<%fieldname54_value if_not_empty%>
    			<br />
    				<%fieldname55_label if_not_empty%>&nbsp;<%fieldname55_value if_not_empty%>
    			<br />
    				<%fieldname56_label if_not_empty%>&nbsp;<%fieldname56_value if_not_empty%>
    			<br />
    				<%fieldname57_label>&nbsp;<%fieldname57_value if_not_empty%>
    			<br />
    				<%fieldname85_label if_not_empty%>&nbsp;<%fieldname58_value if_not_empty%>
    			<br />
    				<%fieldname59_label if_not_empty%>&nbsp;<%fieldname59_value if_not_empty%>
    			<br />
    				<%fieldname60_label if_not_empty%>&nbsp;<%fieldname60_value if_not_empty%>
    			<br><br>
    				<b><%fieldname75_value if_not_empty%>
    			<br />
    					<%fieldname76_label if_not_empty%>&nbsp;<%fieldname76_value if_not_empty%></b>
    			<br />
    				<%fieldname78_label if_not_empty%>&nbsp;<%fieldname78_value if_not_empty%>
    			<br />
    				<%fieldname79_label if_not_empty%>&nbsp;<%fieldname79_value if_not_empty%>
    			<br />
    				<%fieldname80_label if_not_empty%>&nbsp;<%fieldname80_value if_not_empty%>
    			<br />
    				<%fieldname81_label if_not_empty%>&nbsp;<%fieldname81_value if_not_empty%>
    			<br />
    				<%fieldname82_label if_not_empty%>&nbsp;<%fieldname82_value if_not_empty%>
    			<br />
    				<%fieldname83_label if_not_empty%>&nbsp;<%fieldname83_value if_not_empty%>
    			<br />
    				<%fieldname84_label if_not_empty%>&nbsp;<%fieldname84_value if_not_empty%>
    			<br><br>
    				<b><%fieldname90_value if_not_empty%>
    			<br />
    					<%fieldname91_label if_not_empty%>&nbsp;<%fieldname91_value if_not_empty%></b>
    			<br />
    				<%fieldname93_label if_not_empty%>&nbsp;<%fieldname93_value if_not_empty%>
    			<br />
    				<%fieldname94_label if_not_empty%>&nbsp;<%fieldname94_value if_not_empty%>
    			<br />
    				<%fieldname95_label if_not_empty%>&nbsp;<%fieldname95_value if_not_empty%>
    			<br />
    				<%fieldname96_label if_not_empty%>&nbsp;<%fieldname96_value if_not_empty%>
    			<br />
    				<%fieldname97_label if_not_empty%>&nbsp;<%fieldname97_value if_not_empty%>
    			<br />
    				<%fieldname98_label if_not_empty%>&nbsp;<%fieldname98_value if_not_empty%>
    			<br />
    				<%fieldname99_label if_not_empty%>&nbsp;<%fieldname99_value if_not_empty%>
    			<br><br>
    				<b><%fieldname106_value if_not_empty%>
    			<br />
    				<%fieldname107_label if_not_empty%>&nbsp;<%fieldname107_value if_not_empty%></b>
    			<br />
    				<%fieldname109_label if_not_empty%>&nbsp;<%fieldname109_value if_not_empty%>
    			<br />
    				<%fieldname110_label if_not_empty%>&nbsp;<%fieldname110_value if_not_empty%>
    			<br />
    				<%fieldname111_label if_not_empty%>&nbsp;<%fieldname111_value if_not_empty%>
    			<br />
    				<%fieldname112_label if_not_empty%>&nbsp;<%fieldname112_value if_not_empty%>
    			<br />
    				<%fieldname113_label if_not_empty%>&nbsp;<%fieldname113_value if_not_empty%>
    			<br />
    				<%fieldname114_label if_not_empty%>&nbsp;<%fieldname114_value if_not_empty%>
    			<br />
    				<%fieldname115_label if_not_empty%>&nbsp;<%fieldname115_value if_not_empty%>
    			<br><br>
    				<b><%fieldname123_value if_not_empty%>
    			<br />
    				<%fieldname124_label if_not_empty%>&nbsp;<%fieldname124_value if_not_empty%></b>
    			<br />
    				<%fieldname126_label if_not_empty%>&nbsp;<%fieldname126_value if_not_empty%>
    			<br />
    				<%fieldname127_label if_not_empty%>&nbsp;<%fieldname127_value if_not_empty%>
    			<br />
    				<%fieldname128_label if_not_empty%>&nbsp;<%fieldname128_value if_not_empty%>
    			<br />
    				<%fieldname129_label if_not_empty%>&nbsp;<%fieldname129_value if_not_empty%>
    			<br />
    				<%fieldname130_label if_not_empty%>&nbsp;<%fieldname130_value if_not_empty%>
    			<br />
    				<%fieldname131_label if_not_empty%>&nbsp;<%fieldname131_value if_not_empty%>
    			<br />
    				<%fieldname132_label if_not_empty%>&nbsp;<%fieldname132_value if_not_empty%>
    			<br><br>
    				<b><%fieldname139_value if_not_empty%>
    			<br />
    				<%fieldname140_label if_not_empty%>&nbsp;<%fieldname140_value if_not_empty%></b>
    			<br />
    				<%fieldname142_label if_not_empty%>&nbsp;<%fieldname142_value if_not_empty%>
    			<br />
    				<%fieldname143_label if_not_empty%>&nbsp;<%fieldname143_value if_not_empty%>
    			<br />
    				<%fieldname144_label if_not_empty%>&nbsp;<%fieldname144_value if_not_empty%>
    			<br />
    				<%fieldname145_label if_not_empty%>&nbsp;<%fieldname145_value if_not_empty%>
    			<br />
    				<%fieldname146_label if_not_empty%>&nbsp;<%fieldname146_value if_not_empty%>
    			<br />
    				<%fieldname147_label if_not_empty%>&nbsp;<%fieldname147_value if_not_empty%>
    			<br />
    				<%fieldname148_label if_not_empty%>&nbsp;<%fieldname148_value if_not_empty%>
    			<br><br>
    				<b><%fieldname155_value if_not_empty%>
    			<br />
    				<%fieldname156_label if_not_empty%>&nbsp;<%fieldname156_value if_not_empty%></b>
    			<br />
    				<%fieldname158_label if_not_empty%>&nbsp;<%fieldname158_value if_not_empty%>
    			<br />
    				<%fieldname159_label if_not_empty%>&nbsp;<%fieldname159_value if_not_empty%>
    			<br />
    				<%fieldname160_label if_not_empty%>&nbsp;<%fieldname160_value if_not_empty%>
    			<br />
    				<%fieldname161_label if_not_empty%>&nbsp;<%fieldname161_value if_not_empty%>
    			<br />
    				<%fieldname162_label if_not_empty%>&nbsp;<%fieldname162_value if_not_empty%>
    			<br />
    				<%fieldname163_label if_not_empty%>&nbsp;<%fieldname163_value if_not_empty%>
    			<br />
    				<%fieldname164_label if_not_empty%>&nbsp;<%fieldname164_value if_not_empty%>
    			<br><br>
    				<b><%fieldname61_label if_not_empty%></b>
    			<br>
    				<%fieldname61_value if_not_empty%>
        </td>
      </tr>
    </table>
    </body>
    </html>

    Also, the first two pages in the PDF are blank.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Nathan

    (@natedanielz)

    I thought I found the culprit, but it still doesn’t work.

    • This reply was modified 1 year, 3 months ago by Nathan.
    • This reply was modified 1 year, 3 months ago by Nathan.
    Plugin Author codepeople

    (@codepeople)

    Hello @natedanielz

    We’d like to help but we can’t reply about that in this forum. We are not allowed to support any customers in these forums and PDF Generator add-on is a commercial feature.

    For pro or commercial product support please contact us directly on our site. This includes any pre-sales topics as well.

    Commercial products are not supported in these forums. We will happily answer this and any other questions you can have on our own site.

    Thank you.

    Thread Starter Nathan

    (@natedanielz)

    So I need to buy €25 of 60 days support with the chance that there’s a fault in the add-on?

    Plugin Author codepeople

    (@codepeople)

    Hello @natedanielz

    Please, read the answer we sent you from our website. We indicated the problem with your PDF structure and how to distribute the fields into separate PDF document pages. It is not a plugin’s fault. You must format the PDF structure using the correct styles and HTML tags.

    We cannot offer you support for commercial plugins in the WordPress forum because the forum rules do not allow it.

    Best regards.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PDF gets cut off | PDF Generator Add On’ is closed to new replies.