HTML to PDF PHP

Benji_
Benji_ used Ask the Experts™
on
Hey Guys,

Some advice if possible please:)

I'm currently using Smarty to build a web application for a client,

They need the ability for a HTML document to be exported to a PDF with a header and footer page giving a document name and Page Numbers.

Using Ubuntu Server with PHP 5.4

Wondering if anyone has any suggestions on the best and easiest way to do this.

Regards
Ben :)
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
There is a web service to do . but it is not free. http://pdfcrowd.com/i/how-to-export-html-to-pdf-from-php.html
Top Expert 2007
Commented:
You could install htmldoc http://www.htmldoc.org/ and use it to convert html to pdf. Maybe directly available as ubuntu package

Author

Commented:
Thanks for the answers, have used the PDFCrowd option as was very flexiable and requires no additional server config, but do now know about htmldoc for another project we have :)

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial