Printing without the printing dialog being visible

A

Andrew

Hello,

I am automating the printing to XPS(using Windows XPS Document
Writer).
Everything works great except one thing:

I needed to turn off background printing and because of this there is
a dialog with a cancel button shown during printing. (The reasons
which I need background printing off is because I need to make sure
the printing is successful even when Word instance is closed. With
background printing off, Word remains running until it finishes with
printing).

Is there a way to make Word not showing that printing dialog ?

Thanks.
 
Top