Hi,
Thanks for your interests in our products.
Spire.PDFViewer supports to set printer settings to duplex, here is sample code for your reference:
- Code: Select all
//Indicate whether the printer supports duplex
bool value = this.pdfDocumentViewer1.PrintDocument.PrinterSettings.CanDuplex;
//If so, set the printer's duplex setting: Default, Simplex, Horizontal, Vertical
this.pdfDocumentViewer1.PrintDocument.PrinterSettings.Duplex = System.Drawing.Printing.Duplex.Simplex;
this.pdfDocumentViewer1.PrintDocument.Print();
Also, the Spire.PDF also supports the feature, the code is similar with the code above.
If there is any question, welcome to get it back to us.
Sincerely,
Betsy,
E-iceblue support team