I have 3 printers, and, I whant to print a lot of files, so, I whant to know, how I can make a little and simple system to manage this printers, the base I know, but, I whant to know, How I can make the printer print and continue with verification to put more files to print in another printer... so, basicly what I mean is:
private void printer()
{
int number = 0;
GetPrintStatus gps = new GetPrintStatus();
for (int i = 0; i < 5; i++)
{
if (number > 4)
number = 0;
gps.SetPrinter = string.Format("HP - {0}", number);
switch (gps.ToString())
{
case "HP - 0":
if (gps.Status != status.Enable)
gps.print("1.pdf");
break;
case "HP - 1":
if (gps.Status != status.Enable)
gps.print("1.pdf");
break;
case "HP - 2":
if (gps.Status != status.Enable)
gps.print("1.pdf");
break;
case "HP - 3":
if (gps.Status != status.Enable)
gps.print("1.pdf");
break;
case "HP - 4":
if (gps.Status != status.Enable)
gps.print("1.pdf");
break;
}
}
OK, But, when the code go to: gps.print, to code stop there, and, continue when the printer return ok.... but, how I can do, to code continue ?