-
Bug
-
Resolution: Fixed
-
P4
-
6u10
-
b112
-
x86
-
windows_xp
FULL PRODUCT VERSION :
java version "1.6.0_11"
Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
Java HotSpot(TM) Client VM (build 11.0-b16, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600
A DESCRIPTION OF THE PROBLEM :
I implemented my own PrintService that I try to set on the PrinterJob created by the correct method.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Execute the source code attached
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The print service is set on the printer job
ACTUAL -
java.awt.print.PrinterException: Invalid name of PrintService.
at sun.awt.windows.WPrinterJob.setNativePrintService(Native Method)
at sun.awt.windows.WPrinterJob.setPrintService(Unknown Source)
at Test.main(Test.java:62)
REPRODUCIBILITY :
This bug can be reproduced always.
java version "1.6.0_11"
Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
Java HotSpot(TM) Client VM (build 11.0-b16, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600
A DESCRIPTION OF THE PROBLEM :
I implemented my own PrintService that I try to set on the PrinterJob created by the correct method.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Execute the source code attached
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The print service is set on the printer job
ACTUAL -
java.awt.print.PrinterException: Invalid name of PrintService.
at sun.awt.windows.WPrinterJob.setNativePrintService(Native Method)
at sun.awt.windows.WPrinterJob.setPrintService(Unknown Source)
at Test.main(Test.java:62)
REPRODUCIBILITY :
This bug can be reproduced always.