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