Uses of Interface javax.print.attribute.PrintServiceAttribute (Java Platform SE 8 )
Date: 2016-10-23

## Uses of Interface
javax.print.attribute.PrintServiceAttribute

- Packages that use PrintServiceAttribute
  Package | Description
  --- | ---
  javax.print | Provides the principal classes and interfaces for the JavaTM Print Service API.
  javax.print.attribute | Provides classes and interfaces that describe the types of JavaTM Print Service attributes and how they can be collected into attribute sets.
  javax.print.attribute.standard | Package javax.print.attribute.standard contains classes for specific printing attributes.

- - ### Uses of PrintServiceAttribute in javax.print

    Methods in javax.print with type parameters of type PrintServiceAttribute
    Modifier and Type | Method and Description
    --- | ---
    `<T extends PrintServiceAttribute> T` | PrintService.`getAttribute(Class<T> category)` Gets the value of the single specified service attribute.

  - ### Uses of PrintServiceAttribute in javax.print.attribute

    Constructors in javax.print.attribute with parameters of type PrintServiceAttribute
    Constructor and Description
    `HashPrintServiceAttributeSet(PrintServiceAttribute attribute)` Construct a new hash print service attribute set, initially populated with the given value.
    `HashPrintServiceAttributeSet(PrintServiceAttribute[] attributes)` Construct a new print service attribute set, initially populated with the values from the given array.

  - ### Uses of PrintServiceAttribute in javax.print.attribute.standard

    Classes in javax.print.attribute.standard that implement PrintServiceAttribute
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ColorSupported` Class ColorSupported is a printing attribute class, an enumeration, that identifies whether the device is capable of any type of color printing at all, including highlight color as well as full process color.
    `class` | `PagesPerMinute` Class PagesPerMinute is an integer valued printing attribute that indicates the nominal number of pages per minute to the nearest whole number which may be generated by this printer (e.g., simplex, black-and-white).
    `class` | `PagesPerMinuteColor` Class PagesPerMinuteColor is an integer valued printing attribute that indicates the nominal number of pages per minute to the nearest whole number which may be generated by this printer when printing color (e.g., simplex, color).
    `class` | `PDLOverrideSupported` Class PDLOverrideSupported is a printing attribute class, an enumeration, that expresses the printer's ability to attempt to override processing instructions embedded in documents' print data with processing instructions specified as attributes outside the print data.
    `class` | `PrinterInfo` Class PrinterInfo is a printing attribute class, a text attribute, that provides descriptive information about a printer.
    `class` | `PrinterIsAcceptingJobs` Class PrinterIsAcceptingJobs is a printing attribute class, an enumeration, that indicates whether the printer is currently able to accept jobs.
    `class` | `PrinterLocation` Class PrinterLocation is a printing attribute class, a text attribute, that identifies the location of the device.
    `class` | `PrinterMakeAndModel` Class PrinterMakeAndModel is a printing attribute class, a text attribute, that the make and model of the printer.
    `class` | `PrinterMessageFromOperator` Class PrinterMessageFromOperator is a printing attribute class, a text attribute, that provides a message from an operator, system administrator, or "intelligent" process to indicate to the end user information about or status of the printer, such as why it is unavailable or when it is expected to be available.
    `class` | `PrinterMoreInfo` Class PrinterMoreInfo is a printing attribute class, a URI, that is used to obtain more information about this specific printer.
    `class` | `PrinterMoreInfoManufacturer` Class PrinterMoreInfoManufacturer is a printing attribute class, a URI, that is used to obtain more information about this type of device.
    `class` | `PrinterName` Class PrinterName is a printing attribute class, a text attribute, that specifies the name of a printer.
    `class` | `PrinterState` Class PrinterState is a printing attribute class, an enumeration, that identifies the current state of a printer.
    `class` | `PrinterStateReasons` Class PrinterStateReasons is a printing attribute class, a set of enumeration values, that provides additional information about the printer's current state, i.e., information that augments the value of the printer's `PrinterState` attribute.
    `class` | `PrinterURI` Class PrinterURI is a printing attribute class, a URI, that specifies the globally unique name of a printer.
    `class` | `QueuedJobCount` Class QueuedJobCount is an integer valued printing attribute that indicates the number of jobs in the printer whose `JobState` is either PENDING, PENDING_HELD, PROCESSING, or PROCESSING_STOPPED.

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, 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.