Own print method:
PrinterSettings printerSettings = new PrinterSettings();
printerSettings.MaximumPage = m_numberOfPages;
printerSettings.MinimumPage = 1;
printerSettings.PrintRange = PrintRange.SomePages;
printerSettings.FromPage = 1;
printerSettings.ToPage = m_numberOfPages;
printerSettings.PrinterName = printerName;
//printerSettings.PaperSources = "Tray 2";
PrintDocument pd = new PrintDocument();
m_currentPrintingPage = 1;
m_lastPrintingPage = m_numberOfPages;
pd.PrinterSettings = printerSettings;
I think this is where it should go. But I'm not sure.
Any help is appreciated.
Thanks,
Trint
Landi wrote:
Are you opening the windows print dialog or you implementing your own
print method?
"trint" <tr***********@gmail.com> wrote in message
news:11*********************@z14g2000cwz.googlegro ups.com... My program must check printer status before sending a job. Does
anyone have a clue?
Thanks,
Trint