COM - Can't prevent "print" window to show up

 Hi all,

I'm trying to use PDFCreator COM object in a web application to generate pdfs from html file and then send it to the client. Everything works great so far except that when cPrintFile is called, the traditionnal "Print" window (where you can select your printer, set the number of copies you want, etc.) appear. I would like to bypass this window and let the Auto-save feature do it's job, because nobody can press the Print button on the server.

Moreover, I noticed that in the sample project for COM object usage, the "Print" window doesn't appear at all and everything works like I would like it to work in my case.

Any ideas ?