Module java.desktop

Class Compression

java.lang.Object
javax.print.attribute.EnumSyntax
javax.print.attribute.standard.Compression
All Implemented Interfaces:
Serializable, Cloneable, Attribute, DocAttribute

public class Compression extends EnumSyntax implements DocAttribute
Class 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.

See Also: