Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Unprotect protected PDF files' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Unprotect protected PDF files
Authored by: mfripp on May 11, '09 02:34:19AM

The newer versions of Preview (at least OS X 10.5, and maybe earlier) respect the "do not print without a password" setting in PDF files, so the hint above won't work for them. However, it is possible to create a completely unprotected version of any PDF file using ghostscript. A command like this should work:

gs -sOutputFile=MyNewFile.pdf -sDEVICE=pdfwrite -dNOPAUSE -dbatch -q MyProtectedFile.pdf

You may need to type "quit" at the command prompt after gs finishes processing the file.

I can't remember whether ghostscript came with OS X or whether I installed it from somewhere...



[ Reply to This | # ]
Unprotect protected PDF files
Authored by: wireface on Jan 14, '11 05:10:41PM

This is a great hint, thank you, it saved me a lot of time when no printer was in sight.



[ Reply to This | # ]