[nycphp-talk] html to PDF conversion?
David Roth
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.
David Roth
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
> http://lists.nyphp.org/mailman/listinfo/talk
>
> http://www.nyphp.org/Show-Participation
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20100305/f6bd78d5/attachment.html>
More information about the talk
mailing list