Пример #1
0
 private void OutOfInkInternalEventHandler(object sender, OutOfInkEventArgs args)
 {
     Console.WriteLine($"[PRINTER JOG] Cartrige {args.EmptyInk.ToUpper()} is empty " +
                       $"at page {args.Page} " +
                       $"{DateTime.Now.ToLongDateString()} " +
                       $"{DateTime.Now.ToLongTimeString()}");
 }
Пример #2
0
 static void OutOfInkEventHandler(object sender, OutOfInkEventArgs args)
 {
     Console.WriteLine($"Main: Replace {args.EmptyInk} Ink Cartrige");
     _canPrint = false;
 }