| 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| <T extends PrintServiceAttribute> | PrintService. getAttribute(Class<T> category)Gets the value of the single specified service attribute. | 
| 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. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ColorSupportedClass 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  | PagesPerMinuteClass 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  | PagesPerMinuteColorClass 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  | PDLOverrideSupportedClass 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  | PrinterInfoClass PrinterInfo is a printing attribute class, a text attribute, that
 provides descriptive information about a printer. | 
| class  | PrinterIsAcceptingJobsClass PrinterIsAcceptingJobs is a printing attribute class, an enumeration,
 that indicates whether the printer is currently able to accept jobs. | 
| class  | PrinterLocationClass PrinterLocation is a printing attribute class, a text attribute, that
 identifies the location of the device. | 
| class  | PrinterMakeAndModelClass PrinterMakeAndModel is a printing attribute class, a text attribute,
 that the make and model of the printer. | 
| class  | PrinterMessageFromOperatorClass 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  | PrinterMoreInfoClass PrinterMoreInfo is a printing attribute class, a URI, that is used to
 obtain more information about this specific printer. | 
| class  | PrinterMoreInfoManufacturerClass PrinterMoreInfoManufacturer is a printing attribute class, a URI,
 that is used to obtain more information about this type of device. | 
| class  | PrinterNameClass PrinterName is a printing attribute class, a text attribute, that
 specifies the name of a printer. | 
| class  | PrinterStateClass PrinterState is a printing attribute class, an enumeration, that
 identifies the current state of a printer. | 
| class  | PrinterStateReasonsClass 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  PrinterStateattribute. | 
| class  | PrinterURIClass PrinterURI is a printing attribute class, a URI, that specifies the
 globally unique name of a printer. | 
| class  | QueuedJobCountClass QueuedJobCount is an integer valued printing attribute that indicates
 the number of jobs in the printer whose  JobStateis 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, 2015, Oracle and/or its affiliates.  All rights reserved.