Page 1 of 1

Creating PDF’s using PHP

Posted: Mon Apr 12, 2010 12:22 am
by Mr Tech
What I am wanting to do is create a PDF ideally from HTML code. I found a class called [dompdf](http://www.digitaljunkies.ca/dompdf/index.php) but I'm having issues with font and page breaks.

Does anyone know of another script or even a better way in general to generate PDF files?

The reason why I am converting HTML to PDF is because I want someone to use a WYSIWYG editor to create the contents and click save to generate their PDF file...

Any input would be greatly apprecaited

Re: Creating PDF’s using PHP

Posted: Mon Apr 12, 2010 2:38 am
by Christopher
There is another project that does this around somewhere. It uses htmlkit/safari to render the HTML to PDF via command line calls. It is tricky to install and you need full access to the server.

Re: Creating PDF’s using PHP

Posted: Tue Apr 13, 2010 3:34 pm
by Technocrat

Re: Creating PDF’s using PHP

Posted: Tue Apr 13, 2010 3:35 pm
by Technocrat