<p>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. </p>

[{'answer_id': 33280, 'author': 'Danimal', 'author_id': 2757, 'author_profile': 'https://Stackoverflow.com/users/2757', 'pm_score': 3, 'selected': False, 'text': '<p><a href="http://www.websupergoo.com" rel="nofollow noreferrer">ABCPDF </a>can do it </p>\n'}, {'answer_id': 33314, 'author': 'TonyLa', 'author_id': 1295, 'author_profile': 'https://Stackoverflow.com/users/1295', 'pm_score': 0, 'selected': False, 'text': '<p>Depends on what platform you are on</p>\n\n<p>Windows - Websupergoo\'s ABC PDF</p>\n\n<p><a href="http://www.websupergoo.com/" rel="nofollow noreferrer">http://www.websupergoo.com/</a></p>\n\n<p>*nix - Prince XML\n<a href="http://www.princexml.com/overview/" rel="nofollow noreferrer">http://www.princexml.com/overview/</a></p>\n'}, {'answer_id': 1709665, 'author': 'Kim R', 'author_id': 207729, 'author_profile': 'https://Stackoverflow.com/users/207729', 'pm_score': 0, 'selected': False, 'text': "<p>I've also used ABC PDF (from classic ASP) and found it very good.</p>\n"}, {'answer_id': 8562361, 'author': 'Alasdair', 'author_id': 1018582, 'author_profile': 'https://Stackoverflow.com/users/1018582', 'pm_score': 2, 'selected': False, 'text': '<p><a href="http://code.google.com/p/wkhtmltopdf/" rel="nofollow">wkhtmltopdf</a> 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.</p>\n\n<p>Just use it like this:</p>\n\n<pre><code>wkpdfhtmltopdf http://www.whatever.com/page.html page.pdf\n</code></pre>\n'}]
['https://Stackoverflow.com/questions/33275', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/64/']