If you are looking for something that performs on-the-fly conversion of web-pages into PDF format, PDFMyURL may just be the right tool for you.
The service allows for single-click conversion of pages into their PDF counterparts in the following manner:
- By visiting their site and entering the URL of the page you wish to convert.
They also provide a mechanism by which you can embed “download as PDF” style links in your own website. The mechanism is rather simple and involves invoking their service with the target web-page as a parameter. For example, if I want to convert the front page of Wanderer Moon (my wife’s blog) into a PDF, the link I’ll include is:
Extending the functionality
This can be a handy way of providing PDF downloads of individual posts of a blog and can help you avoid installation of any plugins. In case of WordPress based blogs, just include the following line of code in an appropriate location inside your loop.
<a title="Download as PDF" href="https://pdfmyurl.com?url=<?php the_permalink(); ?>"> Download this post as PDF </a>
All in all, an useful tool, though it may fail to correctly render sites with complicated CSS layouts and justified text.