Java™ Platform
Standard Ed. 8

Uses of Interface
javax.print.attribute.PrintJobAttribute

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

      Constructors in javax.print.attribute with parameters of type PrintJobAttribute 
      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.
    • Uses of PrintJobAttribute in javax.print.attribute.standard

      Classes in javax.print.attribute.standard that implement PrintJobAttribute 
      Modifier and Type Class and 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  DateTimeAtCompleted
      Class 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  DateTimeAtCreation
      Class DateTimeAtCreation is a printing attribute class, a date-time attribute, that indicates the date and time at which the Print Job was created.
      class  DateTimeAtProcessing
      Class 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  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  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  JobImpressionsCompleted
      Class JobImpressionsCompleted is an integer valued printing attribute class that specifies the number of impressions completed for the job so far.
      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  JobKOctetsProcessed
      Class 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  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  JobMediaSheetsCompleted
      Class 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  JobMessageFromOperator
      Class 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  JobName
      Class JobName is a printing attribute class, a text attribute, that specifies the name of a print job.
      class  JobOriginatingUserName
      Class JobOriginatingUserName is a printing attribute class, a text attribute, that contains the name of the end user that submitted the 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  JobState
      JobState is a printing attribute class, an enumeration, that identifies the current state of a print job.
      class  JobStateReasons
      Class 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 JobState attribute.
      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  NumberOfDocuments
      Class 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  NumberOfInterveningJobs
      Class 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  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  OutputDeviceAssigned
      Class OutputDeviceAssigned is a printing attribute class, a text attribute, that identifies the output device to which the service has assigned this job.
      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  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.

微信小程序

微信扫一扫体验

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部