Search code examples
linuxpdfpassword-protection

How can I remove the printing protection from password-protected PDF files?


How can I remove the printing protection from password-protected PDF files?


Solution

  • When PDF documents are visible but not printable there's an easy workaround when you are using GNU/Linux.

    To do that, you have to use the two step procedure:

    1. Print the pdf to postscript
    2. Revert back to normal pdf file

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

    And it's done. There is no more password protectin for your pdf document.