[Melbourne-pm] PDF::API2
Kim Hawtin
kim at hawtin.net.au
Tue Mar 19 17:56:44 PDT 2013
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
More information about the Melbourne-pm
mailing list