Batch Convert

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
paolo73
Posts: 15
Joined: Sat Oct 25 2003

Batch Convert

Post by paolo73 »

I tried to use BatchConvert method of the cdi object but my app always hangs when I do that. What is the proper procedure for calling this method?

here's my code:


Set cdi = New CDIntfEx.CDIntfEx

Retry:
cdi.PDFDriverInit Trim$(PDFPRINTER)
cdi.EnablePrinter Trim$(COMPANY), Trim$(LICENSEKEY)
cdi.FileNameOptionsEx = NoPrompt + UseFileName
cdi.DefaultDirectory = "C:\BatchConvert\"
'cdi.DefaultFileName = strDestination & strPDFName
cdi.SetDefaultPrinter
cdi.BatchConvert ("C:\BatchConvert\*.*")
Post Reply