[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: getting a pdf document to print



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

andy wrote:
> Mathias Brodala wrote:
>> Hi Andy.
>>
>> andy, 10.05.2007 18:46:
>>  
>>> I have received a multipage pdf document that has been locked so it
>>> cannot be printed. I would like to be able to print this document so
>>> that I can read it "on the road". Any ideas for by-passing the lock?
>>>     
>>
>> You might want to try "pdftk". From the manpage:
>>
>>  
>>>        Same as above, except printing is allowed (once the PDF is open)
>>>          pdftk 1.pdf output 1.128.pdf owner_pw foo user_pw baz allow
>>> printing
>>>     
>>
>>
>> Regards, Mathias
>>
>>   
> Mathias - great call thanks! I actually just decrypted the file like so:
> 
> 
> pdftk the_document01.pdf input_pw <usrpasswd> output the_document02.pdf
> 
> pdftk is a nice little "Swiss army knife" program!! Thanks for the help :)

Just for the record...

How did you try to print the file in the first place? From which
application?

I have toyed a little with encryption via pdftk [1] and found out that with

pdftk my.pdf output crypt.pdf owner_pw bla user_pw blooh

acroread cannot print the pdf, but kpdf just ignores the print-lock.

It would be interesting to know if the same applies to pdfs encrypted
from other sources.

Johannes


[1] I use encrypted pdfs for secure communication with friends who can't
use encrypted e-mail at work.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGRF0IC1NzPRl9qEURArr0AJ9VbJ4zMLOMgI4tg+oMyj/CRj5FSgCfSBzd
Qfkytx4VQwmd1WDMmHbSr9Q=
=qn20
-----END PGP SIGNATURE-----



Reply to: