Note, that this recipe is not updated long time and could be outdated!
Got it.

Print protected PDF files

How to get past the annoying print-protection system built into PDFs.

PDF files are all over the Internet, often containing high quality, good looking gems of knowledge. The point of these PDF files is, of course, to print them. If not, why would you use a PDF file and not just a web page? It would make the document much easier to view and navigate.

Why do some people prevent you from printing their PDFs? Often because they want to offer you a preview of their work, but still giving you a strong incentive to buy their books. If this is the case with the PDFs you want to print, be aware that if you use the method below, you might be breaking laws of your country. I'm not responsible for any of your actions, and you will burn in hell for violating Adobe's precious DRM.

I'm going to assume you want to print a nice, legal PDF document that for some reason unknown to man has been print-protected.

The tools

First of all, you need a tool called pdftoppm. This is a command line program that will convert any PDF to a series of PPM, PGM or PBM images. On Linux and BSD, you should look for poppler-utils or xpdf-utils using the package manager of your choice. (XPdf on Windows)

Other than that, you'll need an image viewer that can print out these images. On Linux, I use gThumb. From terminal run:

pdftoppm your_protected_pdf_file.pdf prefix_for_image_names

and you have a shiny set of PPM images.

These tend to use up huge amounts of disk space. If you want to keep them around, you should print them to a PostScript or PDF file (Windows users: PDFCreator). If you want to convert them in gray scale to save disk space, add -gray to the command line. For monochrome images, use -mono.

Tags Linux Failsistēma Drukāšana PDF English
Created by Valdis Vītoliņš on 2013-09-08 10:02
Last modified by Valdis Vītoliņš on 2021-04-13 14:30
Xwiki Powered
Creative Commons Attribution 3.0 Unported License