Chromaticity is a printing attribute class, an enumeration,
that specifies monochrome or color printing. This is used by a print client
to specify how the print data should be generated or processed. It is not
descriptive of the color capabilities of the device. Query the service's
ColorSupported attribute to determine if the device
can be verified to support color printing.
The table below shows the effects of specifying a Chromaticity attribute of
MONOCHROME or COLOR for a monochrome or
color document.
| Chromaticity Attribute | Effect on Monochrome Document | Effect on Color Document |
|---|---|---|
MONOCHROME
| Printed as is, in monochrome | Printed in monochrome, with colors converted to shades of gray |
COLOR
| Printed as is, in monochrome | Printed as is, in color |
IPP Compatibility: Chromaticity is not an IPP attribute at present.
| Modifier and Type | Field and Description |
|---|---|
| public static final Chromaticity | COLOR
Color printing. |
| public static final Chromaticity | MONOCHROME
Monochrome printing. |
| private static final Chromaticity[] | myEnumValueTable
The enumeration value table for class |
| private static final String[] | myStringTable
The string table for class |
| private static final long | serialVersionUID
Use serialVersionUID from JDK 1.4 for interoperability.
|
| Access | Constructor and Description |
|---|---|
| protected | Chromaticity(int
Integer value value)Construct a new chromaticity enumeration value with the given integer value. |
| Modifier and Type | Method and Description |
|---|---|
| public final Class | Returns: printing attribute class (category), an instance of classjava.Implements javax. Get the printing attribute class which is to be used as the "category" for this printing attribute value. |
| protected EnumSyntax[] | getEnumValueTable()
Overrides javax. Returns the enumeration value table for class |
| public final String | Returns: attribute category nameImplements javax. Get the name of the category of which this attribute value is an instance. |
| protected String[] | getStringTable()
Overrides javax. Returns the string table for class |
| COLOR | back to summary |
|---|---|
| public static final Chromaticity COLOR Color printing. | |
| MONOCHROME | back to summary |
|---|---|
| public static final Chromaticity MONOCHROME Monochrome printing. | |
| myEnumValueTable | back to summary |
|---|---|
| private static final Chromaticity[] myEnumValueTable The enumeration value table for class | |
| myStringTable | back to summary |
|---|---|
| private static final String[] myStringTable The string table for class | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides javax. Use serialVersionUID from JDK 1.4 for interoperability. | |
| Chromaticity | back to summary |
|---|---|
| protected Chromaticity(int value) Construct a new chromaticity enumeration value with the given integer value.
| |
| getCategory | back to summary |
|---|---|
| public final Class Implements javax. Get the printing attribute class which is to be used as the "category" for this printing attribute value.
For class
| |
| getEnumValueTable | back to summary |
|---|---|
| protected EnumSyntax[] getEnumValueTable() Overrides javax. Returns the enumeration value table for class
| |
| getName | back to summary |
|---|---|
| public final String getName() Implements javax. Get the name of the category of which this attribute value is an instance.
For class | |
| getStringTable | back to summary |
|---|---|
| protected String[] getStringTable() Overrides javax. Returns the string table for class
| |