On Feb 9, 2007, at 19:02, Nelson, Dean wrote:
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?
That's because the PDF encryption algorithm at least needs an owner
password. A user password can be safely omitted. Setting the owner
password does not lock the file for viewing.
Try: -noprint -o $owner_pass$
See also: http://xmlgraphics.apache.org/fop/0.93/
pdfencryption.html#Usage+%28command+line%29
HTH!
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]