Hi everyone, thanks for reading.
In the real world, I have been asked to convert a page with complex tables into a pdf with a repeating header and pagination. The pages are generated with php and I have managed to capture them using obstart and obflush. I’ve even re-created the page in html using this output.
I have a couple apps I have looked at to convert the captured data into a pdf, with repeating headers, but most of them are lacking in instructions.
Additionally, I can’t figure out how to make a print button that runs the script on the current page, then brings up a print/save option for the generated pdf. Everything I see puts the script in the bottom of the page, then runs it when the page loads.
Also, I am thinking that the header, which itself is multiple tables and different on each page, should be converted to an image. The problem is, the last row of the header, is my table headers and needs to line up with the remainder of the page.
Any suggestions, ideas, pointers? Thanks!