Is there a PDF library that one can use to automate creating PDFs from URLs? The current approach I use is to "Print" a page and select a PDF plugin like PrimoPDF to generate the PDF document but I was wanting to automate that.
The fastest way to convert an open web page to PDF is to use the Adobe PDF toolbar. If you have the toolbar installed in your browser, simply select the Convert To PDF tool. Give your new PDF file a name, select Save, and voila — the conversion is done.
ABCPDF can do it
wkhtmltopdf generates the most accurate PDFs out of web pages that I have ever found. It renders them in WebKit and converts this to PDF, so the PDF will look exactly like the web page, including all styles and other fancy things.
Just use it like this:
wkpdfhtmltopdf http://www.whatever.com/page.html page.pdf
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With