public final class NumberUp extends IntegerSyntax implements DocAttribute, PrintJobAttribute, PrintRequestAttribute
NumberUp printing attribute specifies the number of pages
to be arranged upon a single media sheet.
Note: The effect of this attribute on jobs with multiple documents
is controlled by the job attribute
MultipleDocumentHandling.
IPP Compatibility: NumberUp is an IPP 1.1 attribute.
| Constructor and Description |
|---|
NumberUp(int value)
Creates a
NumberUp object. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Tests if the given object is equal to this object.
|
Class<? extends Attribute> |
getCategory()
Returns category of this class.
|
String |
getName()
Returns the name of this attribute.
|
getValue, hashCode, toStringpublic NumberUp(int value)
NumberUp object.value - the number of print-stream pages to print on a single side
of a mediaIllegalArgumentException - if value < 1public boolean equals(Object obj)
equals in class IntegerSyntaxobj - the object to testtrue if both objects are equal,
false otherwise.Object.hashCode()public Class<? extends Attribute> getCategory()
getCategory in interface AttributeNumberUp itself.