How can I put a limit on the page for only write items until the text I have written, and then continues writing a new page.(on DynaPDF Table example)
Example:
In a database I have a record of an invoice with 40 items, in the fist page must be fit 6 items, and the rest of items wants to be in a new page and so on.
Is there a way to do this?
you build the table in memory and than loop and see how many rows fit on a page. Than in your loop you add more pages and draw rows until you are done. Our examples do it this way.
[quote=204219:@Christian Schmitz]how?
normally you set all cells in table to have a default font after creating table.[/quote]
I used call pdf.setfont before Write text and Voila