Package | Description |
---|---|
java.awt |
Contains all of the classes for creating user
interfaces and for painting graphics and images.
|
Modifier and Type | Field and Description |
---|---|
static JobAttributes.SidesType |
JobAttributes.SidesType.ONE_SIDED
The
SidesType instance to use for specifying that
consecutive job pages should be printed upon the same side of
consecutive media sheets. |
static JobAttributes.SidesType |
JobAttributes.SidesType.TWO_SIDED_LONG_EDGE
The
SidesType instance to use for specifying that
consecutive job pages should be printed upon front and back sides
of consecutive media sheets, such that the orientation of each pair
of pages on the medium would be correct for the reader as if for
binding on the long edge. |
static JobAttributes.SidesType |
JobAttributes.SidesType.TWO_SIDED_SHORT_EDGE
The
SidesType instance to use for specifying that
consecutive job pages should be printed upon front and back sides
of consecutive media sheets, such that the orientation of each pair
of pages on the medium would be correct for the reader as if for
binding on the short edge. |
Modifier and Type | Method and Description |
---|---|
JobAttributes.SidesType |
JobAttributes.getSides()
Returns how consecutive pages should be imposed upon the sides of the
print medium for jobs using these attributes.
|
Modifier and Type | Method and Description |
---|---|
void |
JobAttributes.setSides(JobAttributes.SidesType sides)
Specifies how consecutive pages should be imposed upon the sides of the
print medium for jobs using these attributes.
|
Constructor and Description |
---|
JobAttributes(int copies,
JobAttributes.DefaultSelectionType defaultSelection,
JobAttributes.DestinationType destination,
JobAttributes.DialogType dialog,
String fileName,
int maxPage,
int minPage,
JobAttributes.MultipleDocumentHandlingType multipleDocumentHandling,
int[][] pageRanges,
String printer,
JobAttributes.SidesType sides)
Constructs a
JobAttributes instance with the
specified values for every attribute. |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.