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 <davidalanr...@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

_______________________________________________
New York PHP Users Group Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

http://www.nyphp.org/Show-Participation

Reply via email to