Using cPrintfile and cCombineall on Windows
I have written a script that can walk through a tree and find all the files in a directory and combine them into one PDF file using the .cPrintFile and .cCombineAll COM functions.
However whenever the directory contains ".JPG" files script fails because .cPrintFile launches them in "Windows File and Fax Viewer" which I assume does not expose the print command correctly through its API to PDFCreator. So the script just sits there.
If I keep closing the windows the script continues processing the Tree and then fails on .cCombineAll.
If I keep manually clicking the print sequense the script completes successfully, but the manual clicking obviously defeats the purpose of the script.
Or I'm doing something wrong.
Has anyone else encountered this issues? Does anyone know a work around?
I have tried changing the default launch program in Windows, this works when you open the files with a double click, but cPrintFile keeps right on using "Windows File and FAx Viewer"