May 20th 2009 02:38 am printing password protected PDF files

Print

Recently I needed to print a PDF file that I created a while ago. It happens that I put some stupid printing restriction and I couldn’t remember the password. After doing some research, I found that I didn’t need to pay for expensive software to override the password. This is what I did with ghostscript:

gs -sDEVICE=pdfwrite -sPAPERSIZE=a4 -sOutputFile=fileWithoutPassword.pdf -dNOPAUSE -dBATCH fileWithPassword.pdf

voila!

change according your needs…

Print

Posted by julovi / Salt and pepper

Trackback URI | Comments RSS

Leave a Reply


eight + 5 =