User login

Who's online

There are currently 0 users and 123 guests online.

Advertisements


SourceForge.net Logo

Using cPrintfile and cCombineall on Windows

Submitted by timecook on Mon, 2008-04-07 12:49.

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"

© 2006 by pdfforge.org :: Contact us

Validate XHTML or CSS.