# Uses of Interface
javax.print.attribute.PrintServiceAttribute

Packages that use PrintServiceAttribute
Package
Description
javax.print
Provides the principal classes and interfaces for the Java Print Service API.
javax.print.attribute
Provides classes and interfaces that describe the types of Java 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
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
Modifier
Constructor
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
Description
`final 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.
`final 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).
`final 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.
`final class`
`PrinterInfo`
Class `PrinterInfo` is a printing attribute class, a text attribute, that provides descriptive information about a printer.
`final class`
`PrinterIsAcceptingJobs`
Class `PrinterIsAcceptingJobs` is a printing attribute class, an enumeration, that indicates whether the printer is currently able to accept jobs.
`final class`
`PrinterLocation`
Class `PrinterLocation` is a printing attribute class, a text attribute, that identifies the location of the device.
`final class`
`PrinterMakeAndModel`
Class `PrinterMakeAndModel` is a printing attribute class, a text attribute, that the make and model of the printer.
`final 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.
`final class`
`PrinterMoreInfo`
Class `PrinterMoreInfo` is a printing attribute class, a `URI`, that is used to obtain more information about this specific printer.
`final class`
`PrinterMoreInfoManufacturer`
Class `PrinterMoreInfoManufacturer` is a printing attribute class, a `URI`, that is used to obtain more information about this type of device.
`final class`
`PrinterName`
Class `PrinterName` is a printing attribute class, a text attribute, that specifies the name of a printer.
`final class`
`PrinterState`
Class `PrinterState` is a printing attribute class, an enumeration, that identifies the current state of a printer.
`final 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.
`final class`
`PrinterURI`
Class `PrinterURI` is a printing attribute class, a `URI`, that specifies the globally unique name of a printer.
`final 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`.