Reputation: 2783
I need to generate a PDF file from an existing pure HTML files when clicking 'Export' button. As I am working on the php project, a solution that can easily be used in a java-project is preferable.
Thanks for all the answers
Upvotes: 4
Views: 21036
Reputation: 1367
Possible solution , http://wkhtmltopdf.org/ This works really well for other html docs I have used
Upvotes: 0
Reputation: 9132
I'm not sure how well it would integrate into PHP, but I use pandoc for all sorts of document conversion. It can handle HTML to PDF.
http://johnmacfarlane.net/pandoc/
Upvotes: 3