Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

[iText-questions] PDF Permissions

Day, Andrew

2005-12-20

Replies:

PDF Permissions

I want to read what permissions are set on a encrypted PDF, for example I want to know if the PDF can be printed or not.

So I open the PDF using "PdfReader" and test to see if the document is encrypted if it is then I want to check the permission to see if printing is allowed. When I get the permissions value it get back a -60, I know the AllowPrinting value is 2052 so I do I text for this?

I would like to figure out all the values that make up the permissions value

©2008 junlu.com - Jax Systems, LLC, U.S.A.