HTML2pdf
| From: | Richard Lynch | Date: | Thu, 17 Feb 2005 23:49:27 +0000 |
| Subject: | HTML2pdf | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-208971@lists.php.net to get a copy of this message | ||
[NB Got trigger-happy on the delete again. Sorry.]
> convert HTML to PDF with CSS intact
There's a 'webthumb' application from the GD guys that would, in theory,
let you snatch the way a URL looks to your web-server's X + Mozilla setup,
and then you'd have that as a JPEG, which you could then cram into a
PDF...
Probably not the ideal solution, but it "should work"
You'd have to have 'webthumb', X, and a webthumb-compatible browser
installed on your server -- or wherever you intend to generate the PDFs...
Or, at least, somewhere that you could generate JPEGs and then get them
to the machine where you generate PDFs.
I haven't even gotten around to installing webthumb, so now you know as
much as I do about it. :-)
--
Like Music?
http://l-i-e.com/artists.htm