can any one tell me a simple way to convert web-page screen shot to pdf
+2
A:
If you are trying to do this from a desktop user standpoint
Windows: 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 would definitely be useful :D
RandyMorris
2010-05-12 05:57:43
wimvds
2010-05-12 07:49:13
+2
A:
Creating a PDF from HTML instead of letting the user just see the HTML should not be done without consideration. If you already have a usable HTML page you can display, ask yourself: what would the user benefit from having this in a PDF ? If the issue still stands, here are a few options:
- Use the well known but buggy DOMPDF. All you need is PHP, and it renders somewhat decent. They had some security problems but those went relatively unnoticed because no big fish is using it. No CSS support.
- Use wkhtmltopdf which is absolutely great, supports CSS etc. Thing is, it requires access to the box. Oh, and another pesky little issue, X client libraries must be installed. Aside from that, it renders great and the PDF you are producing ends up looking a lot like the original page.
- If the HTML is dynamic (outputted by some script), have it outputted directly as a PDF, using PDFLIB or it's poor cousin FPDF.
nc3b
2010-05-12 06:03:46