As read in FOP FAQ (http://xml.apache.org/fop/faq.html#PDF-postprocess) :

--------------------------------------------------------------------------------------
5.4. How do I add security features (encryption, disable printing) to my 
PDF document?^ 
FOP does not currently support this feature. Possible workarounds include 
those mentioned in the PDF Post-Processing FAQ. 

Some sample code for encrypting a FOP generated PDF with iText to get you 
started [...]

Check the iText tutorial and documentation for setting access flags, 
password, encryption strength and other parameters. 
--------------------------------------------------------------------------------------

Cheers,

Simon




Clay Leeds wrote:
> Bruno,
> 
> I believe you'll either have to wait for the upcoming release of 0.20.5x 

> (which is "coming soon" although I doubt we'll get a clearer "release 
> date" than that ;-); or you can post-process your PDF files with 
> pdfcrypt or something. HTH!
> 
> Bruno Antunes wrote:
> 
>> Can i have and example of how can I generate a read-only PDF
>> document, using FOP.
>>
>> -- 
>> Bruno Antunes


-- 
Clay Leeds - [EMAIL PROTECTED]
Web Developer - Medata, Inc. - http://www.medata.com
PGP Public Key: https://mail.medata.com/pgp/cleeds.asc



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to