[Melbourne-pm] PDF::API2

Adrian Masters adrian at ash-blue.org
Tue Mar 19 18:51:18 PDT 2013

I'm using wkhtmltopdf currently on W7 to convert a large wiki entry into a static snapshot in PDF. It works pretty well, but if you have big HTML tables, page break control is a bit iffy. I haven't had time to experiment with CSS fixes for it. It is good, cheap and fast for HTML to PDF.


On 20/03/2013, at 11:56 AM, Kim Hawtin <kim at hawtin.net.au> wrote:

> On 19/03/13 23:10, Ben Vinnerd wrote:
>> It's not available as part of the Ubuntu distro (i think), but you can
>> download the wkhtmltopdf binary (there are 2 versions: 32bit and 64bit).
>> Have a look at wkhtmltopdf-0.11.0_rc1-static-i386.tar.bz2 and
>> wkhtmltopdf-0.11.0_rc1-static-amd64.tar.bz2 on the Downloads page.
>> You can run the binary like:
>> /wkhtmltopdf-amd64 --footer-center 'Page [page] of [topage]'
>> --footer-font-size 8 my.html my.pdf
> This is what we use. You want the static version as it contains all of webkit and odd libraries pre-built, IIRR.
> Its become quite handy to switch .css dependencies and then print out pages to .pdf. We are using it for all sorts of things, given we already have those pages available as .html.
> regards,
> Kim
> _______________________________________________
> Melbourne-pm mailing list
> Melbourne-pm at pm.org
> http://mail.pm.org/mailman/listinfo/melbourne-pm

More information about the Melbourne-pm mailing list