tamil nathan wrote:
> Hi!
> i want to set my newly generated PDF file as Non-Printed. That
> means the PDF file should not display the options print in the file
> menu and also in the menu form. so could you please help me to set
> this option?
Yes, you need encryption.
If you are creating the PDFs from scratch, you need to set the
encryption before opening the Document object:
http://itextdocs.lowagie.com/tutorial/general/#step3
If you are postprocessing PDF files, you can use PdfEncryptor:
http://itextdocs.lowagie.com/tutorial/general/copystamp/#pdfstamper
On this page, you will also find an enumeration of the permissions
(make sure AllowPrinting is not set).
br,
Bruno
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions