Unablet to use PDF Creator 2.1 in my application

Hi,


We were using PDF Creator version 1.7.3 of PDF creator in our application which on Powerbuilder. We were using the Active X control of PDF creator PDFCreator.clsPDFCreator and we were calling the properties of this ActiveX control like UseAutosave,UseAutosaveDirectory,UseAutosaveDirectory etc like below code.

li_err = lo_pdfPrinter.connectToNewObject(“PDFCreator.clsPDFCreator”)
IF NOT lo_pdfPrinter.cstart("/NoProcessingAtStartup") THEN
IF NOT lo_pdfPrinter.cStart("/NoProcessingAtStartup", True) THEN
RETURN -1
END IF
END IF
lo_pdfPrinter.cClearCache()
lo_op = lo_pdfPrinter.coptions
IF ll_cnt  > 0 THEN
lo_op.UseAutosave = 1
lo_op.UseAutosaveDirectory = 1
lo_op.AutosaveDirectory = as_path
lo_op.AutosaveFilename = as_file_name
lo_op.PDFDisallowCopy = 1
lo_op.PDFDisallowModifyAnnotations = 1
lo_op.PDFDisallowModifyContents = 1
lo_op.PDFDisallowPrinting = 1
lo_op.PDFEncryptor = 1
lo_op.PDFHighEncryption = 1
lo_pdfPrinter.coptions = lo_op


But we are able to see any properties / method in newer version of PDF creator.

Can any one help me to use PDF creator version 2.1 in my application 

Did you manage to fix this issue? I am also having the same issue

Hi,


the COM interface was completetly rewritten after version 1.7.3, all the details are documented here: http://docs.pdfforge.org/pdfcreator/latest/en/pdfcreator/com-interface/

best regards,