I have one command line application which print word document. As per new requirement, whenever application send document for printing, it should print both side.
S
Here's a simple piece of code to print with some settings:
var pd = new PrintDocument
{
PrinterSettings =
{
Duplex = Duplex.Vertical,
PrinterName = "YourPrinterName"
}
};
if(pd.PrinterSettings.IsValid)
pd.Print();
http://msdn.microsoft.com/en-us/library/system.drawing.printing.printersettings.aspx
Perhaps you can use the Duplex-property?