Remove the restrictions from PDF files

16.07.2010

OK, so we suppose that you have a pdf file with a *forgotten* password on it. You can view the file, but you cannot edit or print it.

  • To print it (shortcut)

Use Evince or Okular to open the pdf. Evince seems not to care about the limitations, and Okular can be instructed to do so (Settings/Configure Okular/General/Obey DRM limitations)

  • To edit it: Transform it to a ps file

$ pdftops  Protected_password.pdf Passwordless.ps

  • Save it again as a pdf file

$ ps2pdf Passwordless.ps Passwordless.pdf

  • Edit the newly obtained pdf

Using your weapon of choice (for example PDF Editor), you can now modify the file (a copy of the original without the restictions).

 
linux/remove_pdf_restrictions.txt · Last modified: 2011/11/25 10:45 (external edit)
Email address
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki