How can I remove print protection from password protected PDFs?

How to remove print protection from password protected PDF files?

+4
source share
2 answers

When PDF documents are visible but cannot be printed, there is an easy way around the problem when using GNU / Linux.

To do this, you need to use the procedure of two steps:

  • Print the pdf for postscript
  • Return to regular PDF file

    $ pdftops [your_protected_pdf_document.pdf] out.ps $ pstopdf [out.ps] broken_protection_pdf_document.pdf 

And that’s all. Your PDF is no longer password protected.

+11
source

see answer in:

pdftk and qpdf for reset PDF comment protection

Copied from another answer (writen bei Kurt Pfeifle)

 The command qpdf --decrypt input.pdf output.pdf removes the 'owner' password. But it does only work, if there is no 'user' password set. Once the owner password is removed, the output.pdf should already have unset all security protection and have allowed commenting. Needless to run your extra pdftk ... command then... BTW, your allow paramenter in your pdftk call will not work the way you quoted your command. The allow permissions will only be applied if you also... ...either specify an encryption strength ...or give a user or an owner password Try the following to find out the detailed security settings of the file(s): qpdf --show-encryption input.pdf qpdf --show-encryption output.pdf 

Example:

 qpdf --decrypt crypted.pdf --password=myP@sswor !D uncrypted.pdf 
+3
source

All Articles