PrintRequestAttribute (Java SE 26 & JDK 26)
Description: declaration: module: java.desktop, package: javax.print.attribute, interface: PrintRequestAttribute
Keywords: javax.print.attribute.PrintRequestAttribute interface

# Interface PrintRequestAttribute

All Superinterfaces:
  `Attribute, Serializable`

All Known Implementing Classes:
  `Chromaticity, Copies, Destination, DialogOwner, DialogTypeSelection, Fidelity, Finishings, JobHoldUntil, JobImpressions, JobKOctets, JobMediaSheets, JobName, JobPriority, JobSheets, Media, MediaName, MediaPrintableArea, MediaSizeName, MediaTray, MultipleDocumentHandling, NumberUp, OrientationRequested, OutputBin, PageRanges, PresentationDirection, PrinterResolution, PrintQuality, RequestingUserName, SheetCollate, Sides`

public interface PrintRequestAttribute extends Attribute
Interface `PrintRequestAttribute` is a tagging interface which a printing attribute class implements to indicate the attribute denotes a requested setting for a print job.

Attributes which are tagged with `PrintRequestAttribute` and are also tagged as `PrintJobAttribute`, represent the subset of job attributes which can be part of the specification of a job request.

If an attribute implements `DocAttribute` as well as `PrintRequestAttribute`, the client may include the attribute in a `Doc`'s attribute set to specify a job setting which pertains just to that doc.

See Also:
  - `DocAttributeSet`
  - `PrintRequestAttributeSet`

- ## Method Summary

  ### Methods declared in interface Attribute

  `getCategory, getName`
  Modifier and Type
  Method
  Description
  `Class<? extends Attribute>`
  `getCategory()`
  Get the printing attribute class which is to be used as the "category" for this printing attribute value when it is added to an attribute set.
  `String`
  `getName()`
  Get the name of the category of which this attribute value is an instance.