Posted by frothpoker on 12/01/06 10:30
If you know how many records will fit on the page, you could break the
array into say 25 lines and then dump each array out through the ezPDF
function with the headers and footers.
You should be able to find lots of examples of pagination for
displaying data sets in html tables and you are only looking at the
same process but a different output destination.
If you don't know how many lines you can fit on the page (e.g. you may
have cells with word wrap in them) then you will need to do something a
bit more clever and built the array one line at a time and estimate how
far down the page you are
Obiron
Navigation:
[Reply to this message]
|