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

Leave a Reply

Your email address will not be published. Required fields are marked *


seven + = 10

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>