public static void JobStatus3(PrintQueue queue, int timeout, int interval, Action <int, int> action)
        {
            var monitor = new PrinterJobMonitor(queue, timeout, interval);

            monitor.Changed += action;
            _ = monitor.Start();
        }
        public static void JobStatus3(PrintQueue queue, int timeout, int interval, Action <int, int, PrinterJobMonitor> action)
        {
            var monitor = new PrinterJobMonitor(queue, timeout, interval);

            monitor.Changed += (printed, total) => action(printed, total, monitor);
            _ = monitor.Start();
        }