View Full Version : how to convert the whole html page into pdf using php
02-18-2006, 01:35 AM
how to convert the whole html page into pdf using php?
you could install this on the server:
then use ps2pdf:
I've used htmldoc, the main thing I liked about it was speed. not sure how the others fair.
another way which I haven't seen yet would use an installed copy of Firefox/Mozilla on a server to print to PS then convert that to a PDF (this means the PDF would get all the CSS etc) although that doesn't allow any kind of print command line argument (maybe one day it'll happen *sigh*).
02-18-2006, 02:29 AM
but htmldoc is not using php
i would like something that prints php output to become pdf
If you had gone to this site I had linked above, it is written entirely in PHP:
Not sure how great it would be though but hopefully it'll do what you need.
02-18-2006, 02:43 AM
because my boss very lazy, he wants to auto generate
all the other things I linked, even though they weren't written entirely in PHP, you would've been able to call them from PHP.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.