1

Hi all,

First of all, HTML2PDF is best script for HTML 2 PDF smile
However, i have some kind of problem with multiple pages.
When an invoice is larger then 1 page the content continues on the next page
but the style such as logo and company address are not copied.

is there a way to create some kind of "template" that repeats for each page made?
That i can separate the "template" and the "invoice contents"?

I hope you understand the problem and can help me out.

Cheers,
Rob

2

look at the examples wink you can use page_header and page_footer
Ancien pseudo : lolo

3

Yes but that is to static.
I made a template-maker that allows the user to move the content boxes wherever they want it.
So in fact the logo can be on bottom of page and address may be on middle of page if user puts it there.

So I thought maybe there is a way to create a template separated from the content.

Any ideas?

4

not directly. but you can try to use page_header to make a repeating template, but with a backtop="0" on the page tag
Ancien pseudo : lolo