JDK-6996782 : RFE: Optionally allow submitting printjobs even if Printer is not accepting job
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 6u21
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2010-11-02
  • Updated: 2014-07-22
  • Resolved: 2014-07-22
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Related Reports
Duplicate :  
Relates :  
Today if a printer is out of paper or otherwise out of service, one gets a
"Printer is not accepting job." error. 
This is not compliant with Windows native applications such as Word where
jobs are being sent to the printer queue anyway. The sysadmin will then usually 
get a message and is then supposed to look after failing printers.
The RFE is to optionally make the JRE compliant with the underlying OS
in terms of printer errors. This could be achieved by setting e.g. a -D option.

This is moot with the fix for 8046007

The behaviour is still reproducible using Java SE 7u55: C:\> java TextPrintTest java.awt.print.PrinterException: Printer is not accepting job. at sun.print.RasterPrinterJob.print(Unknown Source) at javax.swing.text.JTextComponent$2.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at javax.swing.text.AbstractDocument.render(Unknown Source) at javax.swing.text.JTextComponent$3.run(Unknown Source) at java.lang.Thread.run(Unknown Source) C:\> java -version java version "1.7.0_55" Java(TM) SE Runtime Environment (build 1.7.0_55-b13) Java HotSpot(TM) Client VM (build 24.55-b03, mixed mode, sharing) C:\>