Generating PDF files with multiple pages messes up design

Generating invoices or documents that run over multiple pages and viewing the pdf does not look so good when it uses multiple pages (see screenshot).

I made some style changes to my terms so to make sure it was not an issue with these style changes i went to settings and set my design to the default Business template and applied it to all records. The design of the pdf changed but the issue on the split page stayed the same. How can i fix this?

Hi,

It may help to add padding/margin to the bottom of the page.

@david may have other suggestions.

Thank you;
Anyone that might have the same isse:
I changed the following in style:

@page {
    margin-left: $global_margin;
    margin-right: $global_margin;
    margin-top: 0;
    margin-bottom: 0;
    size: $page_size $page_layout;
}

to

@page {
    margin-left: $global_margin;
    margin-right: $global_margin;
    margin-top: 10;
    margin-bottom: 10;
    size: $page_size $page_layout;
}

Glad to hear it’s sorted, thanks for sharing the solution!

Your welcome.

If we all work together, we can make this software better.

1 Like