PDF template control the page content

We have a PDF template. We have textarea field where user could enter long text.

When text is not too long, it gets fit on the 1st page.

Problem is when text is too long, it just displays/print heading of section on 1st page, we get all blank rest of page and actual text start displaying on the next page.

Is there way to prevent this and get some text on 1st page and remaining on the next one?

Thanks in an advance! :grin:

I have not had the same issue / requirement so far, but I’ve done something similar / more flexible.

The requirement was coming from the invoices.
We needed to print out shipping slips. So I’ve used the SuiteCRM API and tfpdf to generate the PDF.
If you don’t want to dig deeper into SuiteCRM pdf templating code, that might be a workaround.

1 Like