Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Applications > pdf password removal

pdf password removal
Thread Tools
Fresh-Faced Recruit
Join Date: Jun 2007
Status: Offline
Reply With Quote
May 14, 2008, 03:45 AM
 
I have some pdf documents that I would like to print.
But printing has been disabled.
It would also be helpful to be able to copy sections of the text.

Removal of passwords on pdf documents is legal. Microsoft even gives it's approval.

There are many password protection programs that one can buy.

Plus there are free trials. But they will only work on a few pages, etc.

Does anyone know of free pdf password removers that don't have restrictions on their use?
     
Moderator
Join Date: May 2001
Location: Hilbert space
Status: Offline
Reply With Quote
May 14, 2008, 03:55 AM
 
You can do it via the command line in the Terminal: convert the document to postscript and then back to pdf.
Code:
pdf2ps document.pdf
Code:
ps2pdf document.ps document_noprotection.pdf
Here, document.pdf is the name of the protected document. The first line will create a file with the same name, but the ending .ps instead of .pdf. If you don't add the second file name in the second command, ps2pdf will overwrite your original file (not a good idea).

That has worked for me. (Some scientific books now come with an electronic version that you cannot print. Sometimes you need to make copies of pages, so it's actually easier and cleaner to print the pages again.)
(Last edited by OreoCookie; May 14, 2008 at 04:18 AM. )
I don't suffer from insanity, I enjoy every minute of it.
     
Mac Elite
Join Date: May 2001
Location: Manchester, UK
Status: Offline
Reply With Quote
May 14, 2008, 03:56 AM
 
     
Fresh-Faced Recruit
Join Date: Jun 2007
Status: Offline
Reply With Quote
May 14, 2008, 04:26 AM
 
Originally Posted by OreoCookie View Post
You can do it via the command line: convert the document to postscript and then back to pdf.
Code:
pdf2ps document.pdf
Code:
ps2pdf document.ps document_noprotection.pdf
That has worked for me. (Some scientific books now come with an electronic version that you cannot print. Sometimes you need to make copies of pages, so it's actually easier and cleaner to print the pages again.)
Hi OreoCookie,
Thank you for this info.
But I have only rarely used the command line before
When in terminal how do I select the pdf file to perform the operation on?
Can you please provide more explanation.
Say, for instance the file has name xyz.pdf and is on the desktop, what would be the steps I should make to use the procedure you advise.
     
Moderator
Join Date: May 2001
Location: Hilbert space
Status: Offline
Reply With Quote
May 14, 2008, 04:41 AM
 
You can get ghostscript here (it's in the MacTeX Additions package).

After successful installation, you launch the Terminal (located in /Applications/Utilities) and type
Code:
cd Desktop
Confirm each line with enter, of course.
Then you type the lines above, but you replace document.pdf with xyz.pdf.
I don't suffer from insanity, I enjoy every minute of it.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:19 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2