This entry applies to all our libraries and components that can print PDF documents: jPDFPrint, jPDFProcess, jPDFViewer, jPDFNotes, jPDFEditor.
Q: We have an issue when sending PDF documents to the printer using jPDFrint on a Windows Server. Every now then we do get either one of the following error message: “Printer is not accepting job”.
java.awt.print.PrinterException: Printer is not accepting job. at sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1326) at sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1277) at com.qoppa.pdfViewer.e.i.print(Unknown Source)
Sometimes restarting the job fixes it and at times we would have to restart the server. Just wondering if you have been reported about these issues before and have a fix/workaround for this.
A: We have had a few reports of this issue.
It seems that this issue was happening when the related printer became unavailable for any of the following reason:
- status error
- status no toner
- status out of memory
- status off line
- status user intervention
- status door open
- status not available
A Java application could no longer send printing jobs to the Windows printer spooler to be queued (as expected) and the application would receive the error above.
The issue was resolved in Java 9 and back-ported to the following java versions / builds:
|Resolved In Build