HTML to PDF
Has anyone found and/or used anything that can convert HTML to PDF on the fly. What I would love (but am not so sure could find) is a script that would allow me to input data into a form which will be sent to a database, but also sent to an HTML page and then converted to PDF and saved as a PDF on the server.
Perhaps it's too complex and/or not possible, but if there is anything out there, free or not, let me know.
Kurtis
kb posted this at 03:42 — 29th July 2007.
He has: 1,380 posts
Joined: Feb 2002
Look up "PDFgen".
It's a PHP library, free, that'll hook you up.
I use it. But make sure you read the docs on how it works... it's alot of custom-tags.
Abhishek Reddy posted this at 07:35 — 29th July 2007.
He has: 3,348 posts
Joined: Jul 2001
Instead of going data->html->pdf, why not go data->html, and data->pdf, separately?
kazimmerman posted this at 11:46 — 29th July 2007.
He has: 698 posts
Joined: Jul 2005
brady.k:
Thanks for the link. I'll check that out.
Abhishek Reddy:
I guess my only reasoning was to be able to keep the styling as it is on my website (in a print-friendly version, though) and then convert it to a PDF. If it was pure data, I don't know how to make the PDF still look appealing and printable.
Kurtis
kb posted this at 11:54 — 29th July 2007.
He has: 1,380 posts
Joined: Feb 2002
Well, if you use the PDFgen library (or something similar) then you will HAVE to go from data->html and data->PDF separately, because of the nature of it.
kazimmerman posted this at 12:17 — 29th July 2007.
He has: 698 posts
Joined: Jul 2005
Yeah, that's fine. I can deal with it.
The only reason I specified I wanted to go HTML to PDF was because I didn't know how to do either one (HTML to PDF or data to PDF).
Thanks again.
Kurtis
webwiz posted this at 19:03 — 30th July 2007.
He has: 629 posts
Joined: May 2007
You may find this link useful:
http://web2.pdfonline.com/
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.