there are methods to retrieve the default or current value, as well as the set or range of supported values, as appropriate.
Instances of this class are delegates of the Printer
and must be obtained from the printer. They cannot be mutated by
the application as changing settings of a printer is outside the
scope of this API.
| Modifier and Type | Field and Description |
|---|---|
| private PrinterImpl |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Collation | |
| public int | |
| public PageOrientation | Returns: default paper orientationReturn the default orientation for paper on this printer. |
| public Paper | |
| public PaperSource | Returns: the default paper input source.Return the default paper input source/tray/ |
| public PrintColor | Returns: default print color setting.Get the default color setting : greyscale or color |
| public PrintQuality | |
| public PrintResolution | Returns: default paper resolutionReturn the default print resolution for paper on this printer. |
| public PrintSides | Returns: default value ofPrintSidesReturns the default value for duplex settings. |
| public int | Returns: the maximum supported number of copiesThe maximum supported number of copies. |
| public Set | Returns: the supported values ofCollationReturns an unmodifiable set of the supported collation settings for this printer. |
| public Set | Returns: the supported values ofPageOrientationReturns an unmodifiable set of the supported orientations for this printer. |
| public Set | Returns: the supported values ofPaperReturns an unmodifiable set of the supported paper sizes for this printer. |
| public Set | Returns: the supported paper input sourcesReturns an unmodifiable set of the supported paper sources (ie input bins or trays) for this printer. |
| public Set | Returns: the supported values ofPrintColorReturns an unmodifiable set of the supported color settings for this printer. |
| public Set | Returns: the supported values ofPrintQualityReturns an unmodifiable set of the supported quality settings for this printer. |
| public Set | Returns: the supported values ofPrintResolutionReturns an unmodifiable set of the supported print resolutions for this printer. |
| public Set | Returns: the supported values ofPrintSidesReturns an unmodifiable set of the supported duplex settings for this printer. |
| public boolean |
| impl | back to summary |
|---|---|
| private PrinterImpl impl | |
| PrinterAttributes | back to summary |
|---|---|
| pack-priv PrinterAttributes(PrinterImpl impl) | |
| getDefaultCollation | back to summary |
|---|---|
| public Collation getDefaultCollation() The default collation setting.
| |
| getDefaultCopies | back to summary |
|---|---|
| public int getDefaultCopies() The default number of copies to print.
| |
| getDefaultPageOrientation | back to summary |
|---|---|
| public PageOrientation getDefaultPageOrientation() Return the default orientation for paper on this printer.
| |
| getDefaultPaper | back to summary |
|---|---|
| public Paper getDefaultPaper() Return the default paper size used on this printer.
| |
| getDefaultPaperSource | back to summary |
|---|---|
| public PaperSource getDefaultPaperSource() Return the default paper input source/tray/
| |
| getDefaultPrintColor | back to summary |
|---|---|
| public PrintColor getDefaultPrintColor() Get the default color setting : greyscale or color
| |
| getDefaultPrintQuality | back to summary |
|---|---|
| public PrintQuality getDefaultPrintQuality() Return the default quality setting
| |
| getDefaultPrintResolution | back to summary |
|---|---|
| public PrintResolution getDefaultPrintResolution() Return the default print resolution for paper on this printer.
| |
| getDefaultPrintSides | back to summary |
|---|---|
| public PrintSides getDefaultPrintSides() Returns the default value for duplex settings.
| |
| getMaxCopies | back to summary |
|---|---|
| public int getMaxCopies() The maximum supported number of copies.
| |
| getSupportedCollations | back to summary |
|---|---|
| public Set Returns an unmodifiable set of the supported collation settings for this printer. | |
| getSupportedPageOrientations | back to summary |
|---|---|
| public Set Returns an unmodifiable set of the supported orientations for this printer.
| |
| getSupportedPapers | back to summary |
|---|---|
| public Set Returns an unmodifiable set of the supported paper sizes for this printer. | |
| getSupportedPaperSources | back to summary |
|---|---|
| public Set Returns an unmodifiable set of the supported paper sources (ie input bins or trays) for this printer.
| |
| getSupportedPrintColors | back to summary |
|---|---|
| public Set Returns an unmodifiable set of the supported color settings for this printer.
| |
| getSupportedPrintQuality | back to summary |
|---|---|
| public Set Returns an unmodifiable set of the supported quality settings for this printer.
| |
| getSupportedPrintResolutions | back to summary |
|---|---|
| public Set Returns an unmodifiable set of the supported print resolutions for this printer.
| |
| getSupportedPrintSides | back to summary |
|---|---|
| public Set Returns an unmodifiable set of the supported duplex settings for this printer.
| |
| supportsPageRanges | back to summary |
|---|---|
| public boolean supportsPageRanges() Reports if page ranges are supported.
| |