PDFdev is a service provided by PDFzone.com | http://www.pdfzone.com _____________________________________________________________
According to http://www.ghostscript.com, support for encrypted PDF files is new in gs version 8.14., so your 8.13 just ignores these additional parameters.
Gordon Campbell wrote:
Ok. I have reduced my command line size to 232. But the encryption still doesn't work. Any further ideas?
\gs\gs8.13\bin\gswin32c -I\gs\gs8.13\lib;C:\gs\fonts -sDEVICE=pdfwrite -dNOPAUSE -dSAFER -dKeylength=128 -dEncryptionR=3 -sOwnerPassword=owner -sUserPassword=user -dCompatibilityLevel=1.4 -sOutputFile="\temp\temp.pdf" \temp\temp.ps
Thanks,
Gordon
-----Original Message----- *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of *Leonard Rosenthol *Sent:* Monday, February 02, 2004 8:14 PM *To:* [EMAIL PROTECTED]; [EMAIL PROTECTED] *Subject:* Re: [PDFdev] Ghostscript pdfwrite device
At 01:20 PM 2/2/2004, Gordon Campbell wrote:
Anyway, I'm trying to incorporate encryption with the
pdfwrite device but it doesn't seem to work (no encryption)
. Any ideas ?
First and foremost is that Windows has a maximum command line length of 255 characters - yours is 285 :(.
Fix that and then try again...
Leonard
---------------------------------------------------------------------------
Leonard Rosenthol <mailto:[EMAIL PROTECTED]>
Chief Technical Officer <http://www.pdfsages.com <http://www.pdfsages.com/>>
PDF Sages, Inc. 215-629-3700 (voice)
215-629-0789 (fax)
To change your subscription: http://www.pdfzone.com/discussions/lists-pdfdev.html
