HTML2PS and HTML2PDF - Best HTML to PDF Converter
I've been doing a project lately that requires HTML2PDF generation and I was getting quite depressed at the 2 available options I'd found to do it with PHP: dompdf and html2fpdf. After trying to get them to work with the html template I set up I quickly realized that they just weren't going to work (both had problems processing images). After doing another Google search I found HTML2PS and HTML2PDF and it is practically a miracle! It seems to work pretty much the same as the Adobe PDF print driver, which is exactly what I want. The output from this program looks the same as if you would have printed it out - awesome. It's open source and doesn't have any odd requirements.
HTML2PS and HTML2PDF Pros and Cons
Features: "Supports nested tables, advanced CSS properties, floating DHTML elements, non-Latin character sets, XHTML and non-XHTML tags and properties, and much more. Nearly any website, even very complex ones like Yahoo.com, can be accurately converted to PostScript or PDF."
The only drawback I've found so far is that it chokes on images created from javascript apps (like mybloglog). That means I can't render out a pdf of devtrench.com with images, but it works without images and looks good. This really doesn't bother me because I'm rendering a static html page that is pretty basic, so it is kind of a non issue for me.