예제 #1
0
 static void OutOfPaperEventHandler2(object sender, OutOfPaperEventArgs args)
 {
     Console.WriteLine($"Refill paper. Continue from page " + args.PNumber);
     PrinterOK = false;
 }
예제 #2
0
 private void OutOfPaperEventHandler(object sender, OutOfPaperEventArgs args)
 {
     Console.WriteLine($"[Printer Log] {DateTime.Now.ToShortDateString()} {DateTime.Now.ToShortTimeString()} Out of Paper");
 }