This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Unprintable Blog


Unnecessary printing not only means unnecessary cost of paper and inks, but also avoidable environmental impact on producing and shipping these supplies. Reducing printing can make a small but a significant impact. Take action to help reduce paper waste – make your blog “unprintable”.

“Unprintable Blog” inserts code in every page that prevents that page from being printed out via the browsers print function. Instead only blank pages are printed, optionally containing a note to not print the page but to use the pdf download instead in order to save the environment. As alternative to printing, WordPress posts can be downloaded as automatically generated (unprintable) pdf files with optional syntax highlighting.

The plugin is based on the wp-mpdf plugin by Florian Krauthan. It uses the PHP libs Geshi and Mpdf and parts from the WordPress plugins wp_syntax and contuttoPDF.


“Unprintable Blog” is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

“Unprintable Blog” is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with “Unprintable Blog”. If not, see


  • Prevent users from printing your blog posts


  1. Upload the whole plugin folder to your /wp-content/plugins/ folder.
  2. Set write permission (777) to the plugin dir folders => unprintable-blog/cache AND unprintable-blog/mdpf/graph_cache
  3. Go to the plugins page and activate the plugin.
  4. Add to your template “<?php if(function_exists(‘gcp_pdf_pdfbutton’)) gcp_pdf_pdfbutton(); ?>” as a small button or “<?php if(function_exists(‘gcp_pdf_pdfbutton’)) gcp_pdf_pdfbutton(‘my link’, ‘my login text’); ?>” as a textlink. The second text specifies the text which should displayed if you have checked “needs login” and a user isn’t loggend in.
    (if you wish to open the pdf print in a new tab you may pass “true” for the first parameter)

Contributors & Developers

“Unprintable Blog” is open source software. The following people have contributed to this plugin.


Translate “Unprintable Blog” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Initial release