We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Print Word Document without Print Preview

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.

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");

Please read following documentation links for your kind reference.