Thursday 15 January 2004 3:26:41 pm
I'm not sure how layout/set works... but It shouldn't be too hard. I'd say the best way write a wrapper class around the template class that would pull the template specified for pdf print in override.ini just as usual. This class would then call html to pdf conversion functions (such as http://www.rustyparts.com/pdf.php) and output the file. Then in your /layout/set/print code you would change the content header to binary/pdf or whatever and send the pdf data to the browser. Simple? Thoughts?
Regards, Willie
|