NYCPHP Meetup

NYPHP.org

[nycphp-talk] HTML to PDF converter

David Krings ramons at gmx.net
Wed Feb 27 21:56:20 EST 2008


LK wrote:
> Hello,
>  
> Does anyone know of an "industrial strength" HTML to PDF converter that 
> can be launched from PHP script? I've tried some open source libraries like
>  
> html2php ( http://sourceforge.net/projects/html2fpdf ),
> dompdf ( http://www.digitaljunkies.ca/dompdf/ ),
> HTML_ToPDF ( http://www.rustyparts.com/pdf.php )
>  
> but the problem is that they either crash or don't generate a faithful 
> reproduction of the original html. Need something that does 
> a professional job and runs on Linux.
>  
> Thanks
>  
> Leo K.


A week or so ago I read on the MadCap forums that someone recommended using 
Prince. It supposedly takes the HTML and CSS and makes a PDF out of it. I 
haven't had time so far to take a look at it.

David



More information about the talk mailing list