Print Word Document without Print Preview

Hi,
I am using Aspose words component for .NET to generate a bunch (50,000) of DOCX files from a mail merge template and saving them in a directory.
I need to print them automatically (all of them at once or one at time in a for loop) without showing the print preview dialog for them.
How can I achieve this? So far all the code I have seen shows printing them using print preview dialog.
Thanks,
Tim

Hi Tim,

Thanks for your inquiry. Please use Document.Print method for your requirement. This method print the whole document to the specified printer, using the standard (no User Interface) print controller.

Document doc = new Document(MyDir + "Document.doc");
doc.Print();

Please read following documentation links for your kind reference.
https://reference.aspose.com/words/net/aspose.words/document/print/