How to know if a pdf encrypted document is printable

The PDF Creator enables you to create secure PDF documents and to view, print and process existing PDF documents.
If you have any questions about the installation and usage of the PDF Creator please post them here.
Post Reply
cedric
Posts: 25
Joined: Thu Jun 16 2005

How to know if a pdf encrypted document is printable

Post by cedric »

I want to make appear a print button when a document is printable.

How to know if a pdf encrypted document is printable ?

Is there a property which can be used ?

Please help a poor frenchy guy... :cry:
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Bonjour Cedric

I didn't really get what you do you mean by "when a document is printable", please clarify so i can try to help you.
cedric
Posts: 25
Joined: Thu Jun 16 2005

Post by cedric »

OK,

I encrypted pdf documents with different permissions. Sometime, I enabled printing, others copying.

But now, I have to show the document by a viewer (I use pdf creator) inside my application and to permit the user to print the document by a button. I want to know if the document, which is loaded, was encrypted with printing permission or not to make the button visible or not.

I hope you see what I mean :?
Joan
Amyuni Team
Posts: 2799
Joined: Wed Sep 11 2002
Contact:

Post by Joan »

Cedric,

You can't know if the document was encrypted with printing permissions, at least as far as i know!, you can only know if the document is encrypted or not (for more information please check page 55 of the PDF Creator Developer manual).

Bonne Journée
cedric
Posts: 25
Joined: Thu Jun 16 2005

Post by cedric »

OK

Bonne journée à toi aussi Joan :wink:
Post Reply