Hello!

To create a pdf with permission to print and copy, I do something like this:

 PdfWriter writer = PdfWriter.getInstance(document, new FileOutputStream("
Sample.pdf"));
  writer.setEncryption(PdfWriter.STRENGTH128BITS, null, null,
PdfWriter.AllowPrinting | PdfWriter.AllowCopy);

So, how can I create a pdf with this permissions:

Printing: Allowed
Content Extraction for Accessibility: Allowed
Signing: Allowed

Thanks.
--
Vinícius Vieira
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to