-
Bug
-
Resolution: Fixed
-
P3
-
1.4.0
-
beta
-
sparc
-
solaris_8
-
Verified
OS: Solaris
Bug specific to Solaris:
The sample code attached prints an image 'fish.gif' using the Chromaticity attribute. On Solaris, the image gets printed in color even if the Monochrome attribute is specified. It works fine on Windows. The color printer used was Lexmark Optra SC 1275.
The Chromaticity attribute support is verified by using the isAttributeCategorySupported() method and its value is verified by the isAttributeValueSupported() method of PrintService class. The attribute is later passed on to the DocPrintJob.
The testcase assumes Monochrome if no command line argument is passed. To specify color, 'color' should be passed in the command line.
Source File: ChromaticityTest.java
Resource File: fish.gif
Bug specific to Solaris:
The sample code attached prints an image 'fish.gif' using the Chromaticity attribute. On Solaris, the image gets printed in color even if the Monochrome attribute is specified. It works fine on Windows. The color printer used was Lexmark Optra SC 1275.
The Chromaticity attribute support is verified by using the isAttributeCategorySupported() method and its value is verified by the isAttributeValueSupported() method of PrintService class. The attribute is later passed on to the DocPrintJob.
The testcase assumes Monochrome if no command line argument is passed. To specify color, 'color' should be passed in the command line.
Source File: ChromaticityTest.java
Resource File: fish.gif