Re: HTML to PDF library for PHP
i use wkhtmltopdf, i render the output to a .html file, then i call it from the command line. (install the static version from google code)
and execute it with this script
#!bin/sh
wkhtmltopdf-i386 $*
or
#!bin/sh
wkhtmltopdf-amd64 $*
dompdf is rubbish. it really is. it cant handle high colour images and its just not good.
tc and fpdf are ok but they wont do HTML nicely. and you need to make a nice wrapper class.
the only problem with wk is that it doesnt cut the pages properly. it does look good though.
maybe make div blocks an dive into its advanced features.
WK stands for webkit, so bear that in mind when you render the html. (view it in something like safari).
Uses: Jaunty J 9.04 & Maverick 10.10
Bookmarks