Exemple #1
0
 private void OutOfInkInternalEventHandler(object sender, OutOfInkEventArgs args)
 {
     Console.WriteLine($"[Printer log] {args.InkColor} is empty at page {args.Page} at {DateTime.Now.ToLongDateString()}, {DateTime.Now.ToLongTimeString()}");
 }
Exemple #2
0
 static void OutOfInkEventHandler(object sender, OutOfInkEventArgs c)
 {
     Console.WriteLine($"Please replace {c.InkColor}");
     _canPrint = false;
 }