javax.print.attribute.standard contains classes for specific printing attributes. The parent package,  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. An attribute represents a printing feature that a print service can provide. For each attribute, a print service either does or does not support the attribute. For each possible value of a supported attribute, a print service either does or does not support the value.
The API requires every print service to support certain attributes; other attributes are optional and the service can choose whether or not to support them. Each attribute has a set of values that it accepts. The API requires every print service to support certain values for certain attributes; other attribute values are optional and the service can choose whether or not to support them. These support requirements are recorded in the documentation for each attribute class.
 Package javax.print.attribute.standard contains standard printing attributes and standard printing attribute values that are widely used in the printing domain. A print service vendor can provide new vendor-specific printing attributes in addition to the standard ones. A vendor can also provide vendor-specific extensions (subclasses) of the standard printing attributes -- for example, to provide additional vendor-specific values for an existing standard attribute. Of course, if a vendor wants clients to be able to use any added or extended attributes, the vendor must publish the new attribute classes. 
 Many of the standard attribute classes extend one of the abstract syntax classes of the javax.print.attribute package. These abstract syntax classes each represent a different type. The  EnumSyntax class, for example, represents a type-safe enumeration. The abstract syntax class provides a wrapper for the attribute value. 
 If an attribute class extends EnumSyntax, and the value of the attribute is an IPP-compatible value, the attribute's toString method returns the IPP string representation of the attribute value, such as "processing-stopped" for the JobState attribute. However, because the EnumSyntax class is extensible, vendors can define their own attribute values. If an attribute uses the EnumSyntax class and is set to one of these vendor-defined values then the toString method will not return the IPP string representation of the value. 
A printing client application will typically not need to use all the printing attribute classes in package javax.print.attribute.standard, just the ones that pertain to the application.
 The attribute classes in package javax.print.attribute.standard are based on the Internet Printing Protocol (IPP) attributes as defined in the Internet RFC document, RFC 2911 Internet Printing Protocol/1.1: Model and Semantics dated September 2000. See RFC 2911 for more information. The descriptive text for each attribute class was taken largely from the above documents. The above authors' contribution to the API is gratefully acknowledged. 
Some attributes are doc attributes but not print request attributes and may only be specified at the doc level. Some attributes are print request attributes but not doc attributes and may only be specified at the Print Request level. Some attributes are both doc attributes and print request attributes and may be specified either at the doc level or at the Print Request level.
When specified at the doc level, an attribute applies just to that one doc. When specified at the Print Request level, an attribute applies to the whole job, including all the docs in the job. However, an attribute specified at the doc level overrides an attribute in the same category specified at the Print Request level.
Some attributes are both print request attributes and print job attributes; a client may include such attributes in a Print Request to specify characteristics for the ensuing Print Job, and those attributes then also appear in the Print Job's attribute set. Some attributes are print job attributes but not print request attributes; the print service itself adds these attributes to the Print Job's attribute set.
 Please note: In the javax.print APIs, a null reference parameter to methods is incorrect unless explicitly documented on the method as having a meaningful interpretation. Usage to the contrary is incorrect coding and may result in a run time exception either immediately or at some later time. IllegalArgumentException and NullPointerException are examples of typical and acceptable run time exceptions for such cases.
| Class | Description | 
|---|---|
| Chromaticity | Class  Chromaticityis a printing attribute class, an enumeration, that specifies monochrome or color printing. | 
| ColorSupported | Class  ColorSupportedis 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. | 
| Compression | Class  Compressionis a printing attribute class, an enumeration, that specifies how print data is compressed. | 
| Copies | Class  Copiesis an integer valued printing attribute class that specifies the number of copies to be printed. | 
| CopiesSupported | Class  CopiesSupportedis a printing attribute class, a set of integers, that gives the supported values for aCopiesattribute. | 
| DateTimeAtCompleted | Class  DateTimeAtCompletedis a printing attribute class, a date-time attribute, that indicates the date and time at which the Print Job completed (or was canceled or aborted). | 
| DateTimeAtCreation | Class  DateTimeAtCreationis a printing attribute class, a date-time attribute, that indicates the date and time at which the Print Job was created. | 
| DateTimeAtProcessing | Class  DateTimeAtProcessingis a printing attribute class, a date-time attribute, that indicates the date and time at which the Print Job first began processing. | 
| Destination | Class  Destinationis a printing attribute class, aURI, that is used to indicate an alternate destination for the spooled printer formatted data. | 
| DialogOwner | An attribute class used to support requesting a print or page setup dialog be kept displayed on top of all windows or some specific window. | 
| DialogTypeSelection | Class  DialogTypeSelectionis a printing attribute class, an enumeration, that indicates the user dialog type to be used for specifying printing options. | 
| DocumentName | Class  DocumentNameis a printing attribute class, a text attribute, that specifies the name of a document. | 
| Fidelity | Class  Fidelityis a printing attribute class, an enumeration, that indicates whether total fidelity to client supplied print request attributes is required. | 
| Finishings | Class  Finishingsis a printing attribute class, an enumeration, that identifies whether the printer applies a finishing operation of some kind of binding to each copy of each printed document in the job. | 
| JobHoldUntil | Class  JobHoldUntilis a printing attribute class, a date-time attribute, that specifies the exact date and time at which the job must become a candidate for printing. | 
| JobImpressions | Class  JobImpressionsis an integer valued printing attribute class that specifies the total size in number of impressions of the document(s) being submitted. | 
| JobImpressionsCompleted | Class  JobImpressionsCompletedis an integer valued printing attribute class that specifies the number of impressions completed for the job so far. | 
| JobImpressionsSupported | Class  JobImpressionsSupportedis a printing attribute class, a set of integers, that gives the supported values for aJobImpressionsattribute. | 
| JobKOctets | Class  JobKOctetsis an integer valued printing attribute class that specifies the total size of the document(s) in K octets, i.e., in units of 1024 octets requested to be processed in the job. | 
| JobKOctetsProcessed | Class  JobKOctetsProcessedis an integer valued printing attribute class that specifies the total number of print data octets processed so far in K octets, i.e., in units of 1024 octets. | 
| JobKOctetsSupported | Class  JobKOctetsSupportedis a printing attribute class, a set of integers, that gives the supported values for aJobKOctetsattribute. | 
| JobMediaSheets | Class  JobMediaSheetsis an integer valued printing attribute class that specifies the total number of media sheets to be produced for this job. | 
| JobMediaSheetsCompleted | Class  JobMediaSheetsCompletedis an integer valued printing attribute class that specifies the number of media sheets which have completed marking and stacking for the entire job so far, whether those sheets have been processed on one side or on both. | 
| JobMediaSheetsSupported | Class  JobMediaSheetsSupportedis a printing attribute class, a set of integers, that gives the supported values for aJobMediaSheetsattribute. | 
| JobMessageFromOperator | Class  JobMessageFromOperatoris 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 the reasons for modification or other management action taken on a job. | 
| JobName | Class  JobNameis a printing attribute class, a text attribute, that specifies the name of a print job. | 
| JobOriginatingUserName | Class  JobOriginatingUserNameis a printing attribute class, a text attribute, that contains the name of the end user that submitted the print job. | 
| JobPriority | Class  JobPriorityis an integer valued printing attribute class that specifies a print job's priority. | 
| JobPrioritySupported | Class  JobPrioritySupportedis an integer valued printing attribute class that specifies whether a Print Service instance supports theJobPriorityattribute and the number of different job priority levels supported. | 
| JobSheets | Class  JobSheetsis a printing attribute class, an enumeration, that determines which job start and end sheets, if any, must be printed with a job. | 
| JobState | JobStateis a printing attribute class, an enumeration, that identifies the current state of a print job. | 
| JobStateReason | Class  JobStateReasonis a printing attribute class, an enumeration, that provides additional information about the job's current state, i.e., information that augments the value of the job'sJobStateattribute. | 
| JobStateReasons | Class  JobStateReasonsis a printing attribute class, a set of enumeration values, that provides additional information about the job's current state, i.e., information that augments the value of the job'sJobStateattribute. | 
| Media | Class  Mediais a printing attribute class that specifies the medium on which to print. | 
| MediaName | Class  MediaNameis a subclass ofMedia, a printing attribute class (an enumeration) that specifies the media for a print job as a name. | 
| MediaPrintableArea | Class  MediaPrintableAreais a printing attribute used to distinguish the printable and non-printable areas of media. | 
| MediaSize | Class  MediaSizeis a two-dimensional size valued printing attribute class that indicates the dimensions of the medium in a portrait orientation, with theXdimension running along the bottom edge and theYdimension running along the left edge. | 
| MediaSize.Engineering | Class  MediaSize.EngineeringincludesMediaSizevalues for engineering media. | 
| MediaSize.ISO | Class  MediaSize.ISOincludesMediaSizevalues for ISO media. | 
| MediaSize.JIS | Class  MediaSize.JISincludesMediaSizevalues for JIS (Japanese) media. | 
| MediaSize.NA | Class  MediaSize.NAincludesMediaSizevalues for North American media. | 
| MediaSize.Other | Class  MediaSize.OtherincludesMediaSizevalues for miscellaneous media. | 
| MediaSizeName | Class  MediaSizeNameis a subclass ofMedia. | 
| MediaTray | Class  MediaTrayis a subclass ofMedia. | 
| MultipleDocumentHandling | Class  MultipleDocumentHandlingis a printing attribute class, an enumeration, that controls finishing operations and the placement of one or more print-stream pages into impressions and onto media sheets. | 
| NumberOfDocuments | Class  NumberOfDocumentsis an integer valued printing attribute that indicates the number of individual docs the printer has accepted for this job, regardless of whether the docs' print data has reached the printer or not. | 
| NumberOfInterveningJobs | Class  NumberOfInterveningJobsis an integer valued printing attribute that indicates the number of jobs that are ahead of this job in the relative chronological order of expected time to complete (i.e., the current scheduled order). | 
| NumberUp | Class  NumberUpis an integer valued printing attribute class that specifies the number of print-stream pages to impose upon a single side of an instance of a selected medium. | 
| NumberUpSupported | Class  NumberUpSupportedis a printing attribute class, a set of integers, that gives the supported values for aNumberUpattribute. | 
| OrientationRequested | Class  OrientationRequestedis a printing attribute class, an enumeration, that indicates the desired orientation for printed print-stream pages; it does not describe the orientation of the client-supplied print-stream pages. | 
| OutputDeviceAssigned | Class  OutputDeviceAssignedis a printing attribute class, a text attribute, that identifies the output device to which the service has assigned this job. | 
| PageRanges | Class  PageRangesis a printing attribute class, a set of integers, that identifies the range(s) of print-stream pages that the Printer object uses for each copy of each document which are to be printed. | 
| PagesPerMinute | Class  PagesPerMinuteis 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). | 
| PagesPerMinuteColor | Class  PagesPerMinuteColoris 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). | 
| PDLOverrideSupported | Class  PDLOverrideSupportedis 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. | 
| PresentationDirection | Class  PresentationDirectionis a printing attribute class, an enumeration, that is used in conjunction with theNumberUpattribute to indicate the layout of multiple print-stream pages to impose upon a single side of an instance of a selected medium. | 
| PrinterInfo | Class  PrinterInfois a printing attribute class, a text attribute, that provides descriptive information about a printer. | 
| PrinterIsAcceptingJobs | Class  PrinterIsAcceptingJobsis a printing attribute class, an enumeration, that indicates whether the printer is currently able to accept jobs. | 
| PrinterLocation | Class  PrinterLocationis a printing attribute class, a text attribute, that identifies the location of the device. | 
| PrinterMakeAndModel | Class  PrinterMakeAndModelis a printing attribute class, a text attribute, that the make and model of the printer. | 
| PrinterMessageFromOperator | Class  PrinterMessageFromOperatoris 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. | 
| PrinterMoreInfo | Class  PrinterMoreInfois a printing attribute class, aURI, that is used to obtain more information about this specific printer. | 
| PrinterMoreInfoManufacturer | Class  PrinterMoreInfoManufactureris a printing attribute class, aURI, that is used to obtain more information about this type of device. | 
| PrinterName | Class  PrinterNameis a printing attribute class, a text attribute, that specifies the name of a printer. | 
| PrinterResolution | Class  PrinterResolutionis a printing attribute class that specifies an exact resolution supported by a printer or to be used for a print job. | 
| PrinterState | Class  PrinterStateis a printing attribute class, an enumeration, that identifies the current state of a printer. | 
| PrinterStateReason | Class  PrinterStateReasonis a printing attribute class, an enumeration, that provides additional information about the printer's current state, i.e., information that augments the value of the printer'sPrinterStateattribute. | 
| PrinterStateReasons | Class  PrinterStateReasonsis 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'sPrinterStateattribute. | 
| PrinterURI | Class  PrinterURIis a printing attribute class, aURI, that specifies the globally unique name of a printer. | 
| PrintQuality | Class  PrintQualityis a printing attribute class, an enumeration, that specifies the print quality that the printer uses for the job. | 
| QueuedJobCount | Class  QueuedJobCountis an integer valued printing attribute that indicates the number of jobs in the printer whoseJobStateis eitherPENDING,PENDING_HELD,PROCESSING, orPROCESSING_STOPPED. | 
| ReferenceUriSchemesSupported | Class  ReferenceUriSchemesSupportedis a printing attribute class an enumeration, that indicates a "URI scheme," such as "http:" or "ftp:", that a printer can use to retrieve print data stored at aURIlocation. | 
| RequestingUserName | Class  RequestingUserNameis a printing attribute class, a text attribute, that specifies the name of the end user that submitted the print job. | 
| Severity | Class  Severityis a printing attribute class, an enumeration, that denotes the severity of aPrinterStateReasonattribute. | 
| SheetCollate | Class  SheetCollateis a printing attribute class, an enumeration, that specifies whether or not the media sheets of each copy of each printed document in a job are to be in sequence, when multiple copies of the document are specified by theCopiesattribute. | 
| Sides | Class  Sidesis a printing attribute class, an enumeration, that specifies how print-stream pages are to be imposed upon the sides of an instance of a selected medium, i.e., an impression. | 
    © 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
    https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/javax/print/attribute/standard/package-summary.html