Compression is a printing attribute class, an enumeration, that
specifies how print data is compressed. Compression is an attribute
of the print data (the doc), not of the Print Job. If a Compression
attribute is not specified for a doc, the printer assumes the doc's print
data is uncompressed (i.e., the default Compression value is always
NONE).
IPP Compatibility: The category name returned by getName() is
the IPP attribute name. The enumeration's integer value is the IPP enum
value. The toString() method returns the IPP string representation of
the attribute value.
| Modifier and Type | Field and Description |
|---|---|
| public static final Compression | COMPRESS
UNIX compression technology. |
| public static final Compression | DEFLATE
ZIP public domain inflate/deflate compression technology. |
| public static final Compression | |
| private static final Compression[] | myEnumValueTable
The enumeration value table for class |
| private static final String[] | myStringTable
The string table for class |
| public static final Compression | NONE
No compression is used. |
| private static final long | serialVersionUID
Use serialVersionUID from JDK 1.4 for interoperability.
|
| Access | Constructor and Description |
|---|---|
| protected | Compression(int
Integer value value)Construct a new compression 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 |
| COMPRESS | back to summary |
|---|---|
| public static final Compression COMPRESS UNIX compression technology. | |
| DEFLATE | back to summary |
|---|---|
| public static final Compression DEFLATE ZIP public domain inflate/deflate compression technology. | |
| GZIP | back to summary |
|---|---|
| public static final Compression GZIP GNU zip compression technology described in RFC 1952.
| |
| myEnumValueTable | back to summary |
|---|---|
| private static final Compression[] myEnumValueTable The enumeration value table for class | |
| myStringTable | back to summary |
|---|---|
| private static final String[] myStringTable The string table for class | |
| NONE | back to summary |
|---|---|
| public static final Compression NONE No compression is used. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides javax. Use serialVersionUID from JDK 1.4 for interoperability. | |
| Compression | back to summary |
|---|---|
| protected Compression(int value) Construct a new compression 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
| |