I need Html code to save a page as PDF php

Asked By 10 points N/A Posted on -
qa-featured

Hi.  Is there a way I can save an HTML webpage in PDF format in PHP?  I need all the contents saved in a pdf file.  Can someone tell me an HTML code to save a page as pdf PHP.  I'm on Mozilla Firefox if that matters.  Thanks.

SHARE
Best Answer by Mccormick Hocker
Answered By 25 points N/A #172104

I need Html code to save a page as PDF php

qa-featured

Hi William S Snell,

I don't know that it is possible to convert the HTML file in PDF. When I am searching in google for that, I have found the site: Convert HTML To PDF in PHP The Easy Way. I find it really interesting. Thanks you for asking the question. Otherwise, I don’t know about the matter.

Best Answer
Best Answer
Answered By 0 points N/A #172105

I need Html code to save a page as PDF php

qa-featured
 
 
Hello William S Snell. If I were in your case, I would save the webpage as it is in html, and then open the html in Adobe Photoshop and save it as PDF. Just because I'm a complicated person. But actually there's a much easier way to save webpages straight to pdf, plus the fact that you are using Mozilla Firefox. 
 
Mozilla firefox has many add-ons for that already. Try this one, 'Save as PDF' add-on. 
Click add to firefox, restart your browser and after you would be able to save webpages to PDF.
 
There's also another option, if you wanna try. Web2PDFConverter
 

Related Questions