Hi
I have two questions regarding the generation of pdfs.
I run an invoicing business, generating telco-invoices.
I run into two issues while generating them with eo.pdf.
1. lines not propagated correctly to the next pageMost of the invoices run ok, but with some I have the problem that, while splitting the information in two pages, one line is printed on both pages: it starts at the bottom of the first page, and continues at the top of the second page. The rendering process however then prints the next line also at the top of the second page, with the result that both lines are rendered at the same place (ie the lines are printed over each other.
2. an unwanted empty second pageThe second issue is that sometimes the rendering process produces a second page, which is empty.
My code generates a header / footer combination which is present on all pages.
The content consist of several tables of minimum height, which are generated before rendering.
One table contains cells with a nested table.
Issue 1 appears in one of the nested tables, so eo.pdf renders a cell of the main table, which contains a nested table.
If the main cell / nested table is too long, the rendering process creates an overflow to the next page, but sometimes (not always) makes a mistake in this step.
Question: how can I solve this? Is it possible to include some sort of page-break before the row which is to be rendered, keeping the information together on the new page?
Issue 2 might be a result of table-structure. The tables are always present, but not always filled with content.
It could be that the rendering process "sees" a table without content, and renders this, and sometimes thus creates an empty page.
Question: how can I prevent this?
Help of you readers is much appreciated!
KR
Henk Jelt