public class Finishings extends EnumSyntax implements DocAttribute, PrintRequestAttribute, PrintJobAttribute
MultipleDocumentHandling attribute determines what constitutes a "copy"
 for purposes of finishing.
 Standard Finishings values are:
| NONE | STAPLE | EDGE_STITCH | ||
| BIND | SADDLE_STITCH | COVER | 
The following Finishings values are more specific; they indicate a corner or an edge as if the document were a portrait document:
The STAPLE_XXX values are specified with respect to the document as if the document were a portrait document. If the document is actually a landscape or a reverse-landscape document, the client supplies the appropriate transformed value. For example, to position a staple in the upper left hand corner of a landscape document when held for reading, the client supplies the STAPLE_BOTTOM_LEFT value (since landscape is defined as a +90 degree rotation from portrait, i.e., anti-clockwise). On the other hand, to position a staple in the upper left hand corner of a reverse-landscape document when held for reading, the client supplies the STAPLE_TOP_RIGHT value (since reverse-landscape is defined as a -90 degree rotation from portrait, i.e., clockwise).
The angle (vertical, horizontal, angled) of each staple with respect to the document depends on the implementation which may in turn depend on the value of the attribute.
 The effect of a Finishings attribute on a multidoc print job (a job
 with multiple documents) depends on whether all the docs have the same
 binding specified or whether different docs have different bindings
 specified, and on the (perhaps defaulted) value of the MultipleDocumentHandling attribute.
 
MultipleDocumentHandling makes sense, and the
 printer's processing depends on the MultipleDocumentHandling value:
 
MultipleDocumentHandling make sense, and the
 printer reports an error when the job is submitted if any other value is
 specified:
 
 IPP Compatibility: Class Finishings encapsulates some of the
 IPP enum values that can be included in an IPP "finishings" attribute, which
 is a set of enums. 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.
 In IPP Finishings is a multi-value attribute, this API currently allows
 only one binding to be specified.
| Modifier and Type | Field and Description | 
|---|---|
| static Finishings | BINDThis value indicates that a binding is to be applied to the document;
 the type and placement of the binding is site-defined. | 
| static Finishings | COVERThis value is specified when it is desired to select a non-printed (or
 pre-printed) cover for the document. | 
| static Finishings | EDGE_STITCHBind the document(s) with one or more staples (wire stitches) along one
 edge. | 
| static Finishings | EDGE_STITCH_BOTTOMBind the document(s) with one or more staples (wire stitches) along the
 bottom edge. | 
| static Finishings | EDGE_STITCH_LEFTBind the document(s) with one or more staples (wire stitches) along the
 left edge. | 
| static Finishings | EDGE_STITCH_RIGHTBind the document(s) with one or more staples (wire stitches) along the
 right edge. | 
| static Finishings | EDGE_STITCH_TOPBind the document(s) with one or more staples (wire stitches) along the
 top edge. | 
| static Finishings | NONEPerform no binding. | 
| static Finishings | SADDLE_STITCHBind the document(s) with one or more staples (wire stitches) along the
 middle fold. | 
| static Finishings | STAPLEBind the document(s) with one or more staples. | 
| static Finishings | STAPLE_BOTTOM_LEFTBind the document(s) with one or more staples in the bottom left
 corner. | 
| static Finishings | STAPLE_BOTTOM_RIGHTBind the document(s) with one or more staples in the bottom right
 corner. | 
| static Finishings | STAPLE_DUAL_BOTTOMBind the document(s) with two staples (wire stitches) along the bottom
 edge assuming a portrait document (see above). | 
| static Finishings | STAPLE_DUAL_LEFTBind the document(s) with two staples (wire stitches) along the left
 edge assuming a portrait document (see above). | 
| static Finishings | STAPLE_DUAL_RIGHTBind the document(s) with two staples (wire stitches) along the right
 edge assuming a portrait document (see above). | 
| static Finishings | STAPLE_DUAL_TOPBind the document(s) with two staples (wire stitches) along the top
 edge assuming a portrait document (see above). | 
| static Finishings | STAPLE_TOP_LEFTBind the document(s) with one or more staples in the top left corner. | 
| static Finishings | STAPLE_TOP_RIGHTBind the document(s) with one or more staples in the top right corner. | 
| Modifier | Constructor and Description | 
|---|---|
| protected  | Finishings(int value)Construct a new finishings binding enumeration value with the given
 integer value. | 
| Modifier and Type | Method and Description | 
|---|---|
| Class<? extends Attribute> | getCategory()Get the printing attribute class which is to be used as the "category"
 for this printing attribute value. | 
| protected EnumSyntax[] | getEnumValueTable()Returns the enumeration value table for class Finishings. | 
| String | getName()Get the name of the category of which this attribute value is an
 instance. | 
| protected int | getOffset()Returns the lowest integer value used by class Finishings. | 
| protected String[] | getStringTable()Returns the string table for class Finishings. | 
clone, getValue, hashCode, readResolve, toStringpublic static final Finishings NONE
public static final Finishings STAPLE
public static final Finishings COVER
public static final Finishings BIND
public static final Finishings SADDLE_STITCH
public static final Finishings EDGE_STITCH
public static final Finishings STAPLE_TOP_LEFT
public static final Finishings STAPLE_BOTTOM_LEFT
public static final Finishings STAPLE_TOP_RIGHT
public static final Finishings STAPLE_BOTTOM_RIGHT
public static final Finishings EDGE_STITCH_LEFT
public static final Finishings EDGE_STITCH_TOP
public static final Finishings EDGE_STITCH_RIGHT
public static final Finishings EDGE_STITCH_BOTTOM
public static final Finishings STAPLE_DUAL_LEFT
public static final Finishings STAPLE_DUAL_TOP
public static final Finishings STAPLE_DUAL_RIGHT
public static final Finishings STAPLE_DUAL_BOTTOM
protected Finishings(int value)
value - Integer value.protected String[] getStringTable()
getStringTable in class EnumSyntaxprotected EnumSyntax[] getEnumValueTable()
getEnumValueTable in class EnumSyntaxprotected int getOffset()
getOffset in class EnumSyntaxpublic final Class<? extends Attribute> getCategory()
For class Finishings and any vendor-defined subclasses, the category is class Finishings itself.
getCategory in interface Attributejava.lang.Class.aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2016 aicas GmbH. All Rights Reserved.