HTML/PHP/XML to PDF
March 8, 2006 7:53 AM Subscribe
HTML/PHP/XML to PDF: How should I convert an active webpage to PDF format?
I am having Joe User fill out a form, with the results to be pasted into an existing document (example: a contract where names, dates, etc will be plugged in). I want to obviously display this in the browser as the resulting HTML document (which is not the issue), but also have it assembled as a PDF that can be emailed. What would be the easiest way to make this happen?
I am having Joe User fill out a form, with the results to be pasted into an existing document (example: a contract where names, dates, etc will be plugged in). I want to obviously display this in the browser as the resulting HTML document (which is not the issue), but also have it assembled as a PDF that can be emailed. What would be the easiest way to make this happen?
Also look at HTMLDOC, if your page structure isn't too complicated usually a run through HTMLDOC will make a halfway decent PDF. That way you can use the same code to generate both the HTML and PDF output: the PDF is just the HTML piped through HTMLDOC.
posted by chuma at 8:12 AM on March 8, 2006
posted by chuma at 8:12 AM on March 8, 2006
The best approach is to probably ask Adobe to do the conversion for you.
Adobe CreatePdf is a free online service that converts any webpage or Microsoft Document to PDF for free.
And here's a list of PDF Tools that are either free or much cheaper than Acrobat.
posted by labnol at 9:00 AM on March 8, 2006
Adobe CreatePdf is a free online service that converts any webpage or Microsoft Document to PDF for free.
And here's a list of PDF Tools that are either free or much cheaper than Acrobat.
posted by labnol at 9:00 AM on March 8, 2006
This thread is closed to new comments.
add html2pdf, PDML (my favorite, tho not html, but a template language), or xhtml2pdf
posted by tumble at 8:05 AM on March 8, 2006