I am having a hhuge script and I want to output a page to pdf.
Given that the script is huge I cannot change the page generation, so what I need is a script that takes the completed page (currently at the end of my script outputted with echo($converted_template);) and converts it to pdf and sends it to the user.
I have attached:
- [url removed, login to view] the precise $converted_template as is generated on a sample page (pages will differ in their content, and their might be cookie information sent with the header), as well as
- the html result (in the zip file)