Best way to convert web page to pdf image

can anyone tell me an easy way to convert a screenshot of a webpage to pdf

+2


a source to share


4 answers


If you are trying to do this from a desktop
Windows user perspective : http://www.go2pdf.com/product.html
Linux: http://www.linux.com/archive/feed/35022


If you mean form code, then:
PHP: http://www.imagemagick.org/script/formats.php


But more information will definitely be helpful: D



+5


a source


http://www.web2pdfconvert.com/



http://www.expresspdf.com/ConvertHtmlToPdf.aspx

+2


a source


+2


a source


Creating a PDF from HTML, rather than letting the user just see the HTML, shouldn't be done without consideration. If you already have a useful HTML page that you can display, ask yourself: What will the user get from this in PDF format? If the problem still exists, here are some options:

  • Use the well-known but buggy DOMPDF . All you need is PHP, and it looks somewhat decent. They had security issues, but they went unnoticed because the big fish don't use it. No CSS support.
  • Use wkhtmltopdf which is absolutely great, supports CSS etc. The point is that it requires access to the box. Oh, and another annoying problem, the X client libraries must be installed. Other than that, it works great, and the PDF you generate looks very similar to the original page.
  • If the HTML is dynamic (outputted by some script) it outputs directly as PDF using PDFLIB or is it a bad cousin of FPDF .
+2


a source







All Articles