Sunday, 9th March, 2008
I’ve added a plugin to the blog which allows users to open a PDF of each post with the click of a button. This blog should print pretty well anyway, but sometimes, for whatever reason, it might be useful to save a PDF first.
Just click on the small PDF icon to the top-right of the post (below each post’s date stamp) to save a PDF.
Having hunted around for various solutions for this, the best I could find was by far Post2PDF. Be sure to download the correct version for your PHP version, and be sure to read the installation instructions carefully (you’ll need to add a little PHP to your index.php file in your template).
EDIT: This plugin, by default, downsizes your images to 1/4 of the original size. To reconfigure this to 1:1 scaling, you’ll need to change the following line in the tcpdf_config.php file:
define (”PDF_IMAGE_SCALE_RATIO”, 4);
define (”PDF_IMAGE_SCALE_RATIO”, 1);