Lisa Baird - 2017-08-07 21:25:06 -
In reply to message 10 from Dave Smith
Hi Dave,
I got this working, with the exception of some spacing problems.
I wasn't decarling the doctype,title, body, etc in the header file. I assumed that the program wanted the raw html. Adding the basic declarations caused everything to printer properly. After spending hours trying to get everything to work with thead, there were just too many limitations. If there were too many <br> tags or an image, the header wouldn't repeat.
I am currently outputting my header and the main document to seperate html files, then I have a 3rd file that is used to generate the printed document. How can I make a "print button" that sends the user directly to the open/save dialogue?
I am creating two variables - $doc_header and $doc_content - which gets the output to print and is currently used to generate the pages mentioned above. These variables could be passed to the "print button."
Thank you for your time and suggestions.
Lisa