I am trying to print an HTML page I built in a HTMLDocument object. However, this print must happen in the background, but the print properties dialog is always popping up.
Is there any way of getting rid of this dialog, and just letting the print go through as is with the default print properties?
I have tried:
mvarDocument.execCommand "Print", OLECMDEXECOPT_DONTPROMPTUSER, 0
Dim s As Variant
s = 0
mvarDocument.execCommand "Print", OLECMDEXECOPT_DONTPROMPTUSER, s
with no success at all, depsite what the MSDN says.
Does anyody have any ideas regarding this one?
Many thankx in advance,