[]
Printing in duplex mode allows you to print on both sides of the paper.
Use the Duplex property of the PrintInfo class to print in duplex mode.
This example shows how to print on both sides of the paper.
fpSpread1.ActiveSheet.Cells[1, 1].Value = "1,1";
fpSpread1.ActiveSheet.Cells[10, 10].Value = "10,10";
fpSpread1.ActiveSheet.PrintInfo.Duplex = System.Drawing.Printing.Duplex.Default;
fpSpread1.ActiveSheet.PrintInfo.Preview = true;
fpSpread1.PrintSheet(fpSpread1.ActiveSheet);
fpSpread1.ActiveSheet.Cells(1, 1).Value = "1,1"
fpSpread1.ActiveSheet.Cells(10, 10).Value = "10,10"
fpSpread1.ActiveSheet.PrintInfo.Duplex = System.Drawing.Printing.Duplex.[Default]
fpSpread1.ActiveSheet.PrintInfo.Preview = True
fpSpread1.PrintSheet(fpSpread1.ActiveSheet)
!type=note
Note: Duplex printing mode is not supported if a user tries to print to a PDF file.
Printing a Child View of a Hierarchical Display
Printing the Portion of the Sheet with Data
Printing a Range of Cells on a Sheet