BUG - encrypt don't work on 4.007

The Amyuni PDF Converter is our Printer Driver that enables you to convert any documents to PDF format. If you have any questions about installing and using the Amyuni PDF Converter please post them here.
Post Reply
jezekjkr
Posts: 11
Joined: Thu Feb 08 2007

BUG - encrypt don't work on 4.007

Post by jezekjkr »

Version 4.007 don't encrypt document. Adobe Reader with version 303 have question to user password, on version 4 no
I have this program(VFP)
if version=4
oPdfDocument=Createobject("CDIntfEx.Document.4")
pvysl_licence=oPdfDocument.SetLicenseKey( "licence","key4")
Else
oPdfDocument=Createobject("CDIntfEx.Document") && version 3
pvysl_licence=oPdfDocument.SetLicenseKey( "licence","key3")
Endif
oPdfDocument.Open(lDefaultFileName)
oPdfDocument.Encrypt("ownerpass", "userpass", -64+4) && on version 4 no action
oPdfDocument.Creator=oPdfDocument.Creator+'/J.K.R. s.r.o./BYZNYS Win,BYZNYS VR' && OK
oPdfDocument.Save(lDefaultFileName)

Two computer, W7 and W Vista, the same bug

new version?
jezekjkr
Posts: 11
Joined: Thu Feb 08 2007

Re: BUG - encrypt don't work on 4.007

Post by jezekjkr »

I try using Encrypt128 (no Encrypt) function and this work's OK
Post Reply