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.
I need Html code to save a page as PDF php
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.
I need Html code to save a page as PDF php
Â
Â
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.
Â
Â