javax.print.attribute.standard
public final class Sides extends EnumSyntax implements DocAttribute, PrintRequestAttribute, PrintJobAttribute
Sides
printing attribute specifies how consecutive
printing pages are arranged on the media sheet.
IPP Compatibility: Sides is an IPP 1.1 attribute.
Field Summary | |
---|---|
static Sides | DUPLEX
An alias constant for "two sided long edge". |
static Sides | ONE_SIDED
Specifies that each page should be printed on one sheet. |
static Sides | TUMBLE
An alias constant for "two sided short edge". |
static Sides | TWO_SIDED_LONG_EDGE
Specifies that two following pages should be printed on the
front and back of one sheet for binding on the long edge. |
static Sides | TWO_SIDED_SHORT_EDGE
Specifies that two following pages should be printed on the
front and back of one sheet for binding on the short edge. |
Constructor Summary | |
---|---|
protected | Sides(int value)
Creates a Sides 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.
|
String | getName()
Returns the name of this attribute.
|
protected String[] | getStringTable()
Returns a table with the enumeration values represented as strings
for this object.
|
Sides
object.
Parameters: value the number of sides
Returns: The class Sides
itself.
Returns: The enumeration values.
Returns: The name "sides".
Returns: The enumeration values as strings.