[nycphp-talk] html to PDF conversion?

Gary Mort garyamort at
Fri Mar 5 11:23:52 EST 2010

On Fri, Mar 5, 2010 at 11:06 AM, David Roth <davidalanroth at> wrote:
> I found something interesting. I used wget to get the HTML and then fed it
> through wkhtmltopdf. The PDF looked OK, then I noticed in the help you can
> do wkhtmltopdf website.pdf, so I thought why not let the
> program do the whole thing. To my surprise the output looked even better!
> When wkhtmltopdf is getting the web page it performs some magic to create
> the PDF properly.

I would guess that it uses the print stylesheet as opposed to the web
stylesheet by default.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the talk mailing list