Supress Print Dialog when Using COM interface for HTML to PDF conversion

I am trying to use the COM interface to create a PDF from an HTML file and it works; however, I have one big problem.  There is a print dialog box that pops up and requires user interaction.  I want to convert 100's of files at a time, so that is not good for me.

I can tell it is using the native IE print dialog box when I print to HTML (I changed some print setting in IE and it subsequently change the output of my HTML to PDF conversion).  From what I have read, it is impossible to supress the IE print dialog box for security reasons; however, I can do it in Firefox.  Can I get PDFCreator to use Firefox's print capability instead of IE's?

BTW - I can convert from a Word, Excel, TXT or just about any other file type and not have this problem.  Urgh..

Thanks in advance!!

Hi  bboeckin

Do you mean that if you convert from Word you do not have to click on any pop up window to obtain a pdf file?
 
I have the same problem.
 
see
http://www.pdfforge.org/forum/help/6883-how-suppress-initial-document-properties-window
 
I am using the command line and no COM interface
 
BR
Andrea
 
 
 
 

Hi,

have you tried to user cprinturl method ?

pdfcreatorObjecto.cPrintUrl("file:///c:\\directory\\filename.html")

best regards

Rui MAdaleno