Hi,
I wonder if someone can help me ?
I'm currently using the Developer version of the Document Converter Suite version 2.10e with PDF, RTF, HTML, EXCEL and JPEG modules.
I'm running the following code :-
Set cdi = CreateObject("CDIntfEx.CDIntfEx")
cdi.DriverInit "XSSL Export Printer"
cdi.SetDefaultPrinter
cdi.OwnerPassword = "owner"
cdi.UserPassword = "user"
cdi.Permissions = -64
cdi.FileNameOptionsEx = 1 + 2 + &H100
cdi.DefaultFileName = "C:\PDFConvertorTesting\EncryptedFile.PDF"
cdi.EnablePrinter "...", "..."
Printer.CurrentX = 400
Printer.CurrentY = 400
Printer.FontName = "Arial"
Printer.FontSize = 24
Printer.Print "Hello !!!"
Printer.EndDoc
cdi.RestoreDefaultPrinter
cdi.DriverEnd
One thing is that the PDF file isn't encrypted.
The other thing is that I'm also getting an Excel document (Encrypted File.XLS). Using cdi.PrinterParamInt("Excel MultiSheets") = 0 gets round this.
Also if I include the LinearizeForWeb (&H8000) in FileNameOptionsEx, I get PDF, XLS, JPG, HTM and RTF files.
I'm running this on Windows XP Professional SP1.
Regards,
Mark Laybourne
Encrypt PDF Problem
Hello,
Most probably you already sent us this to support@amyuni.com if not please send it to us so we can look at it more closely.
Thanks,
Joanna
Most probably you already sent us this to support@amyuni.com if not please send it to us so we can look at it more closely.
Thanks,
Joanna