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

- Packages that use PrintRequestAttribute
  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.

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

    Constructors in javax.print.attribute with parameters of type PrintRequestAttribute
    Constructor | Description
    --- | ---
    `HashPrintRequestAttributeSet(PrintRequestAttribute attribute)` Construct a new print request attribute set, initially populated with the given value.
    `HashPrintRequestAttributeSet(PrintRequestAttribute[] attributes)` Construct a new print request attribute set, initially populated with the values from the given array.

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

    Classes in javax.print.attribute.standard that implement PrintRequestAttribute
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `Chromaticity` Class Chromaticity is a printing attribute class, an enumeration, that specifies monochrome or color printing.
    `class` | `Copies` Class Copies is an integer valued printing attribute class that specifies the number of copies to be printed.
    `class` | `Destination` Class Destination is a printing attribute class, a URI, that is used to indicate an alternate destination for the spooled printer formatted data.
    `class` | `DialogTypeSelection` Class DialogTypeSelection is a printing attribute class, an enumeration, that indicates the user dialog type to be used for specifying printing options.
    `class` | `Fidelity` Class Fidelity is a printing attribute class, an enumeration, that indicates whether total fidelity to client supplied print request attributes is required.
    `class` | `Finishings` Class 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` | `JobHoldUntil` Class 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` | `JobImpressions` Class JobImpressions is an integer valued printing attribute class that specifies the total size in number of impressions of the document(s) being submitted.
    `class` | `JobKOctets` Class 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` | `JobMediaSheets` Class JobMediaSheets is an integer valued printing attribute class that specifies the total number of media sheets to be produced for this job.
    `class` | `JobName` Class JobName is a printing attribute class, a text attribute, that specifies the name of a print job.
    `class` | `JobPriority` Class JobPriority is an integer valued printing attribute class that specifies a print job's priority.
    `class` | `JobSheets` Class 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` | `Media` Class Media is a printing attribute class that specifies the medium on which to print.
    `class` | `MediaName` Class MediaName is a subclass of Media, a printing attribute class (an enumeration) that specifies the media for a print job as a name.
    `class` | `MediaPrintableArea` Class MediaPrintableArea is a printing attribute used to distinguish the printable and non-printable areas of media.
    `class` | `MediaSizeName` Class MediaSizeName is a subclass of Media.
    `class` | `MediaTray` Class MediaTray is a subclass of Media.
    `class` | `MultipleDocumentHandling` Class 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` | `NumberUp` Class 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` | `OrientationRequested` Class 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` | `PageRanges` Class 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` | `PresentationDirection` Class PresentationDirection is a printing attribute class, an enumeration, that is used in conjunction with the `NumberUp` attribute to indicate the layout of multiple print-stream pages to impose upon a single side of an instance of a selected medium.
    `class` | `PrinterResolution` Class PrinterResolution is a printing attribute class that specifies an exact resolution supported by a printer or to be used for a print job.
    `class` | `PrintQuality` Class PrintQuality is a printing attribute class, an enumeration, that specifies the print quality that the printer uses for the job.
    `class` | `RequestingUserName` Class RequestingUserName is a printing attribute class, a text attribute, that specifies the name of the end user that submitted the print job.
    `class` | `SheetCollate` Class 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 `Copies` attribute.
    `class` | `Sides` Class 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, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.