Random "Printer is not accepting job" PrinterExceptions
843807Sep 8 2006 — edited Apr 11 2009I have a Java 5 printing application that runs on W2K3. There are multiple TCP/IP printers defined (local printers w/ TCP/IP ports). Each night the app prints almost 100 documents. Occassionally, I will get a java.awt.print.PrinterException: Printer is not accepting job. These appear to be totally random and unrelated to problems on the printer. In fact I can get jobs to queue up when the printer is down, out of paper or toner. The problem happens with different printers and different printer models. What are the conditions under which this exception is generated? I've never been able to reproduce the problem (only see evidence in the logs), so it has been very difficult to debug. Is there a way to force Java to queue up the job even if the "printer is not accepting jobs"?