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()}"); }
static void OutOfInkEventHandler(object sender, OutOfInkEventArgs c) { Console.WriteLine($"Please replace {c.InkColor}"); _canPrint = false; }