PrintDocument printDoc = new PrintDocument();
printDoc.PrinterSettings = new PrinterSettings();
printDoc.PrinterSettings.PrinterName = strPrinterName; //this works
printDoc.PrinterSettings.PaperSource = "Tray 1"; // this doesnt' exist but its basically what i need to do
printDoc.PrintPage += new PrintPageEventHandler(printDoc_PrintPage); //this calls method to draw onto Printjob
printDoc.Print();
//etc etc..
|