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

Free Support Forum - aspose.com

Set printer to duplex

I would like to know how to set the default printer to duplex would the following work

PrinterSettings pS = new PrinterSettings();

Aspose.Words.Document document = new Aspose.Words.Document(strFileName);

pS.PrinterName = strPrinterName;

ps.Duplex = Duplex.Simplex;


Thanks for your inquiry. Yes, you can use Document.Print method (PrinterSettings) to print the document according to the specified printer settings.