| Package | Description | 
|---|---|
| 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. | 
| Constructor and Description | 
|---|
| HashPrintJobAttributeSet(PrintJobAttribute attribute)Construct a new hash print job attribute set,
 initially populated with the given value. | 
| HashPrintJobAttributeSet(PrintJobAttribute[] attributes)Construct a new hash print job attribute set,
 initially populated with the values from the given array. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ChromaticityClass Chromaticity is a printing attribute class, an enumeration, that
 specifies monochrome or color printing. | 
| class  | CopiesClass Copies is an integer valued printing attribute class that specifies the
 number of copies to be printed. | 
| class  | DateTimeAtCompletedClass DateTimeAtCompleted is 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). | 
| class  | DateTimeAtCreationClass DateTimeAtCreation is a printing attribute class, a date-time
 attribute, that indicates the date and time at which the Print Job was
 created. | 
| class  | DateTimeAtProcessingClass DateTimeAtProcessing is a printing attribute class, a date-time
 attribute, that indicates the date and time at which the Print Job first
 began processing. | 
| class  | DestinationClass Destination is a printing attribute class, a URI, that is used to
 indicate an alternate destination for the spooled printer formatted
 data. | 
| class  | FidelityClass Fidelity is a printing attribute class, an enumeration,
 that indicates whether total fidelity to client supplied print request
 attributes is required. | 
| class  | FinishingsClass Finishings is 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. | 
| class  | JobHoldUntilClass JobHoldUntil is 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. | 
| class  | JobImpressionsClass JobImpressions is an integer valued printing attribute class that
 specifies the total size in number of impressions of the document(s) being
 submitted. | 
| class  | JobImpressionsCompletedClass JobImpressionsCompleted is an integer valued printing attribute class
 that specifies the number of impressions completed for the job so far. | 
| class  | JobKOctetsClass JobKOctets is 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. | 
| class  | JobKOctetsProcessedClass JobKOctetsProcessed is 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. | 
| class  | JobMediaSheetsClass JobMediaSheets is an integer valued printing attribute class that
 specifies the total number of media sheets to be produced for this job. | 
| class  | JobMediaSheetsCompletedClass JobMediaSheetsCompleted is 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. | 
| class  | JobMessageFromOperatorClass JobMessageFromOperator 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 the reasons for
 modification or other management action taken on a job. | 
| class  | JobNameClass JobName is a printing attribute class, a text attribute, that specifies
 the name of a print job. | 
| class  | JobOriginatingUserNameClass JobOriginatingUserName is a printing attribute class, a text
 attribute, that contains the name of the end user that submitted the
 print job. | 
| class  | JobPriorityClass JobPriority is an integer valued printing attribute class that
 specifies a print job's priority. | 
| class  | JobSheetsClass JobSheets is a printing attribute class, an enumeration, that
 determines which job start and end sheets, if any, must be printed with a
 job. | 
| class  | JobStateJobState is a printing attribute class, an enumeration, that identifies
 the current state of a print job. | 
| class  | JobStateReasonsClass JobStateReasons is 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's  JobStateattribute. | 
| class  | MediaClass Media is a printing attribute class that specifies the
 medium on which to print. | 
| class  | MediaNameClass MediaName is a subclass of Media, a printing attribute class (an
 enumeration) that specifies the media for a print job as a name. | 
| class  | MediaPrintableAreaClass MediaPrintableArea is a printing attribute used to distinguish
 the printable and non-printable areas of media. | 
| class  | MediaSizeNameClass MediaSizeName is a subclass of Media. | 
| class  | MediaTrayClass MediaTray is a subclass of Media. | 
| class  | MultipleDocumentHandlingClass MultipleDocumentHandling is 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. | 
| class  | NumberOfDocumentsClass NumberOfDocuments is 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. | 
| class  | NumberOfInterveningJobsClass NumberOfInterveningJobs is 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). | 
| class  | NumberUpClass NumberUp is 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. | 
| class  | OrientationRequestedClass OrientationRequested is 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. | 
| class  | OutputDeviceAssignedClass OutputDeviceAssigned is a printing attribute class, a text attribute,
 that identifies the output device to which the service has assigned this
 job. | 
| class  | PageRangesClass PageRanges is 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. | 
| class  | PresentationDirectionClass PresentationDirection is a printing attribute class, an enumeration,
 that is used in conjunction with the  NumberUpattribute to
 indicate the layout of multiple print-stream pages to impose upon a
 single side of an instance of a selected medium. | 
| class  | PrinterResolutionClass PrinterResolution is a printing attribute class that specifies an
 exact resolution supported by a printer or to be used for a print job. | 
| class  | PrintQualityClass PrintQuality is a printing attribute class, an enumeration,
 that specifies the print quality that the printer uses for the job. | 
| class  | SheetCollateClass SheetCollate is 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 the  Copiesattribute. | 
| class  | SidesClass Sides is 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. | 
 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, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.