javax.print.attribute.standard

Class MultipleDocumentHandling

public class MultipleDocumentHandling extends EnumSyntax implements PrintJobAttribute, PrintRequestAttribute

The MultipleDocumentHandling printing attribute controls how certain printing attributes affect printing in case of multiple documents in a print job. This attribute is only relevant if a job has multiple documents.

IPP Compatibility: MultipleDocumentHandling is an IPP 1.1 attribute.

Field Summary
static MultipleDocumentHandlingSEPARATE_DOCUMENTS_COLLATED_COPIES
Multiple documents are treated as collated copies.
static MultipleDocumentHandlingSEPARATE_DOCUMENTS_UNCOLLATED_COPIES
Multiple documents are treated as uncollated copies.
static MultipleDocumentHandlingSINGLE_DOCUMENT
Multiple documents are treated as a single document.
static MultipleDocumentHandlingSINGLE_DOCUMENT_NEW_SHEET
Multiple documents are treated so that every single document starts with a new sheet.
Constructor Summary
protected MultipleDocumentHandling(int value)
Constructs a MultipleDocumentHandling object.
Method Summary
Class<? extends Attribute>getCategory()
Returns category of this class.
protected EnumSyntax[]getEnumValueTable()
Returns a table with the enumeration values for this object.
StringgetName()
Returns the name of this attribute.
protected String[]getStringTable()
Returns a table with the enumeration values represented as strings for this object.

Field Detail

SEPARATE_DOCUMENTS_COLLATED_COPIES

public static final MultipleDocumentHandling SEPARATE_DOCUMENTS_COLLATED_COPIES
Multiple documents are treated as collated copies.

SEPARATE_DOCUMENTS_UNCOLLATED_COPIES

public static final MultipleDocumentHandling SEPARATE_DOCUMENTS_UNCOLLATED_COPIES
Multiple documents are treated as uncollated copies.

SINGLE_DOCUMENT

public static final MultipleDocumentHandling SINGLE_DOCUMENT
Multiple documents are treated as a single document.

SINGLE_DOCUMENT_NEW_SHEET

public static final MultipleDocumentHandling SINGLE_DOCUMENT_NEW_SHEET
Multiple documents are treated so that every single document starts with a new sheet.

Constructor Detail

MultipleDocumentHandling

protected MultipleDocumentHandling(int value)
Constructs a MultipleDocumentHandling object.

Parameters: value the enum value

Method Detail

getCategory

public Class<? extends Attribute> getCategory()
Returns category of this class.

Returns: The class MultipleDocumentHandling itself.

getEnumValueTable

protected EnumSyntax[] getEnumValueTable()
Returns a table with the enumeration values for this object.

Returns: The enumeration values.

getName

public final String getName()
Returns the name of this attribute.

Returns: The name "multiple-document-handling".

getStringTable

protected String[] getStringTable()
Returns a table with the enumeration values represented as strings for this object.

Returns: The enumeration values as strings.