Java™ Platform
Standard Ed. 8

Uses of Interface
javax.print.attribute.DocAttribute

  • Packages that use DocAttribute 
    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 DocAttribute in javax.print.attribute

      Constructors in javax.print.attribute with parameters of type DocAttribute 
      Constructor and Description
      HashDocAttributeSet(DocAttribute attribute)
      Construct a new hash doc attribute set, initially populated with the given value.
      HashDocAttributeSet(DocAttribute[] attributes)
      Construct a new hash doc attribute set, initially populated with the values from the given array.
    • Uses of DocAttribute in javax.print.attribute.standard

      Classes in javax.print.attribute.standard that implement DocAttribute 
      Modifier and Type Class and Description
      class  Chromaticity
      Class Chromaticity is a printing attribute class, an enumeration, that specifies monochrome or color printing.
      class  Compression
      Class Compression is a printing attribute class, an enumeration, that specifies how print data is compressed.
      class  DocumentName
      Class DocumentName is a printing attribute class, a text attribute, that specifies the name of a document.
      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  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  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  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  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.
Java™ Platform
Standard Ed. 8

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, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

微信小程序

微信扫一扫体验

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部