[nycphp-talk] html to PDF conversion?
davidalanroth at gmail.com
Fri Mar 5 17:35:45 EST 2010
Good point, Gary! Maybe a recursive call on the wget option would grab
all of it then.
On Mar 5, 2010, at 11:23 AM, Gary Mort wrote:
> On Fri, Mar 5, 2010 at 11:06 AM, David Roth
> <davidalanroth at gmail.com> 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.com 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.
> New York PHP Users Group Community Talk Mailing List
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the talk