I have just tried this with my own project here - just disabling the
print.

It appears that the print disabling is tied to the security. Is there a
way to NOT put in password and it disable the print? Right now if you
disable the print, it generates a random password and lock the file.

I even tried ' -noprint -u "" ' which I thought would be a null
password. FOP 0.93 puked with this (a zero length string).

Any ideas?


Dean Nelson   




-----Original Message-----
From: Jeff Vannest [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 08, 2007 7:16 AM
To: fop-users@xmlgraphics.apache.org
Subject: RE: Need help on PDF generation using XSL-FO


> we have another requirement of disabling the PRINT, SAVE and EDIT 
> options in the PDF. It looks like we can't disable the PRINT option 
> using XSL-FO.

Disabling print and edit are handled by PDF security. Why can't you
disable print? I have not tried, but it looks like the PDF security
enhancement to FOP has a -noprint flag. See PDF Encryption:
http://xmlgraphics.apache.org/fop/0.93/pdfencryption.html

Save is not handled by PDF security and will need to be managed using
some other method. To my knowledge no *ware modification to the PDF will
disable the user's ability to save.

In a previous project I implemented a controlled database solution
reporting by popping a PDF to the screen for the user then used an OLE
connection to the application to remove all Adobe toolbars and menus.
This removed almost every option other than viewing. See Acrobat SDK:
http://www.adobe.com/devnet/acrobat/

Jeff


________________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 08, 2007 4:53 AM
To: fop-users@xmlgraphics.apache.org
Subject: Need help on PDF generation using XSL-FO

Hi All,

We have a project requirement to generate a PDF document out of XML in
multiple languages. We have been successful in generating the PDF in
multiple languages. On top of this, we have another requirement of
disabling the PRINT, SAVE and EDIT options in the PDF. It looks like we
can't disable the PRINT option using XSL-FO. We are still exploring on
disabling SAVE and EDIT using XSL-FO. If any body has got idea on
disabling these options using any other freeware, please provide the
info/URL to get the information.

Thanks & Regards
Sowjanya



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

Reply via email to