Share » Forums » Developer » Printer Version as PDF possible?

Printer Version as PDF possible?

Printer Version as PDF possible?

Wednesday 14 January 2004 7:59:46 am - 1 reply

Author Message

Willie Seabrook

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

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu