Home >> All >> javax >> print >> [ attribute Javadoc ] |
| javax.print.attribute.standard.* (69) |
javax.print.attribute: Javadoc index of package javax.print.attribute.
Package Samples:
javax.print.attribute.standard
Classes:
SetOfIntegerSyntax: SetOfIntegerSyntax is the abstract base class of all attribute classes which provide a set of non-negative integers as value (e.g. the page ranges to print) represented as single values or ranges of values. A SetOfIntegerSyntax instance consists of an integer array of ranges. Ranges may have the same lower and upper bound representing a single integer value. Ranges with a lower bound greater than the upper bound are null ranges and discarded. Ranges may overlap in their values. In no case negative integers are allowed. There are several constructors available: SetOfIntegerSyntax(int member) Constructor ...
ResolutionSyntax: ResolutionSyntax is the abstract base class of all attribute classes which provide a resolution as value (e.g. printer resolution). A ResolutionSyntax instance consists of two integer values describing the resolution in feed and cross feed direction. The units of the given values is determined by two defined constants: DPCM - dots per centimeter DPI - dots per inch A resolutions attribute is constructed by two values for the resolution and one of the two constants defining the actual units of the given values. There are different methods provided to return the resolution values in either of the ...
Size2DSyntax: Size2DSyntax is the abstract base class of all attribute classes which provide a two dimensional size as value (e.g. the size of a media like Letter or A4). A Size2DSyntax instance consists of two integer values describing the size in the x and y dimension. The units of the given values is determined by two defined constants: INCH - defines an inch MM - defines a millimeter A size 2D attribute is constructed by two values for the size of the x and y dimension and the actual units of the given values as defined by the constants. There are different methods provided to return the size values for ...
EnumSyntax: EnumSyntax is the abstract base class of all enumeration classes in the Java Print Service API. Every enumeration class which extends from EnumSyntax provides several enumeration objects as singletons of its class. Notes for implementing subclasses: The values of all enumeration singelton instances have to be in a sequence which may start at any value. See: getOffset() 55 Subclasses have to override getEnumValueTable() 55 and should override getStringTable() 55 for correct serialization. Example: public class PrinterState extends EnumSyntax { public static final PrinterState IDLE = new PrinterState(1); ...
AttributeSet: AttributeSet is the top-level interface for sets of printing attributes in the Java Print Service API. There are no duplicate values allowed in an attribute set and there is at most one attribute object contained per category type. Based on the java.util.Map interface the values of attribute sets are objects of type Attribute and the entries are the categories as java.lang.Class instances. The following specialized types of AttributeSet are available: DocAttributeSet PrintRequestAttributeSet PrintJobAttributeSet PrintServiceAttributeSet Attribute sets may be unmodifiable depending on the context ...
Finishings: The Finishings attribute specifies the finishing operations that the Printer applies to every copy of each printed document in the Job. Standard enum values are: NONE , STAPLE , COVER , BIND , SADDLE_STITCH , EDGE_STITCH . The following values are more specific: STAPLE_TOP_LEFT , STAPLE_BOTTOM_LEFT , STAPLE_TOP_RIGHT , STAPLE_BOTTOM_RIGHT , EDGE_STITCH_LEFT , EDGE_STITCH_TOP , EDGE_STITCH_RIGHT , EDGE_STITCH_BOTTOM , STAPLE_DUAL_LEFT , STAPLE_DUAL_TOP , STAPLE_DUAL_RIGHT , STAPLE_DUAL_BOTTOM . Note: The effect of this attribute on jobs with multiple documents is controlled by the job attribute ...
Fidelity: The Fidelity attribute specifies how a print job is handled if the supplied attributes are not fully supported. There may be conflicts between the client requested attributes and the attributes supported by the printer object. Such situations are controlled through the client by providing this attribute to indicate the wanted conflict handling mechanism: FIDELITY_TRUE 55 : Reject the job since the job can not be processed exactly as specified by the attributes of the client. FIDELITY_FALSE 55 : The Printer may make any changes necessary to proceed with processing the Job as good as possible. IPP ...
MediaPrintableArea: The MediaPrintableArea attribute specifies the area of a media sheet which is available for printing. Due to hardware limitation its not possible with most printers to use the whole area of a media sheet for printing. This attribute defines the area for printing through the values of the upper left corner position (x,y) on the sheet and the available width and height of the area. The units of the values are determined by two defined constants: INCH - defines an inch MM - defines a millimeter Internal storage: The values of x, y, width and height are stored internally in micrometers. The values ...
AttributeSetUtilities: AttributeSetUtilities provides static methods for working with AttributeSet s. For every type of an attribute set available in the Java Print Service API are methods provided to get an unmodifiable view of an attribute set. This unmodifiable view provides a read-only version of the attribute set which throws UnmodifiableSetException s if state changing methods are invoked. Methods for getting a synchronized view of an attribute set are also available. This view provides synchronized (thread safe) access to the underlying wrapped attribute set. Three static methods for the implementation of own ...
JobImpressions: The JobImpressions printing attribute specifies the total size in number of impressions of the documents of a a print job. An impression is specified by the IPP specification as the image (possibly many print-stream pages in different configurations) imposed onto a single media sheet. This attribute must not include a multiplication factor from the number of copies which maybe specified in a Copies attribute. This attribute belongs to a group of job size attributes which are describing the size of a job to be printed. The values supplied by these attributes are intended to be used for routing and ...
Media: The Media printing attribute specifies which type of media should be used for printing. The media to be used can be specified in three ways represented by the media subclasses MediaTray , MediaName and MediaSizeName : Selection by paper source - selection of printer tray to be used. Selection by name - e.g. A4 paper. Selection by standard sizes - e.g. ISO A5, JIS B4. Each of the sublcasses represents the IPP attribute media and provides predefined values to be used. IPP Compatibility: Media is an IPP 1.1 attribute.
JobKOctets: The JobKOctets printing attribute specifies the total size of all the documents of a print job in K octets. The supplied value has to be rounded up, so that a range between 1 and 1024 octects is specified as 1 and a range between 1025 and 2048 octects as 2, etc. This attribute must not include a multiplication factor from the number of copies which maybe specified in a Copies attribute. This attribute belongs to a group of job size attributes which are describing the size of a job to be printed. The values supplied by these attributes are intended to be used for routing and scheduling of jobs on ...
Chromaticity: The Chromaticity printing attribute specifies if print data should be printed in monochrome or color. The attribute interacts with the document to be printed. If the document to be printed is a monochrome document it will be printed monochrome regardless of the value of this attribute category. However if it is a color document supplying the attribute value MONOCHROME will prepare the document to be printed in monochrome instead of color. This printing attribute has nothing to do with the capabilities of the printer device. To check if a specific printer service supports printing in color you have ...
JobMediaSheets: The JobMediaSheets printing attribute specifies the total number of media sheets needed by a job. In contrary to the other job size attributes this attribute must include the multiplication factor from the number of copies if a Copies attribute was specified for the job. This attribute belongs to a group of job size attributes which are describing the size of a job to be printed. The values supplied by these attributes are intended to be used for routing and scheduling of jobs on the print service. A client may specify these attributes. If a clients supplies these attributes a print service may ...
ColorSupported: The ColorSupported printing attribute specifies if a printing device is capable of color printing. This attributes just tells if a printer device supports color printing but does not specify how a specific print job is printed. Therefore the attribute Chromaticity exists. IPP Compatibility: ColorSupported is an IPP 1.1 attribute. The IPP specification treats ColorSupported as a boolean type which is not available in the Java Print Service API. The IPP boolean value true corresponds to SUPPORTED and "false" to NOT_SUPPORTED .
PrintRequestAttributeSet: PrintRequestAttributeSet specifies an attribute set which only allows printing attributes of type PrintRequestAttribute . The methods add(Attribute) 55 and addAll(AttributeSet) 55 are respecified in this interface to indicate that only PrintRequestAttribute instances are allowed in this set.
PrintServiceAttributeSet: PrintServiceAttributeSet specifies an attribute set which only allows printing attributes of type PrintServiceAttribute . The methods add(Attribute) 55 and addAll(AttributeSet) 55 are respecified in this interface to indicate that only PrintServiceAttribute instances are allowed in this set.
PrintJobAttributeSet: PrintJobAttributeSet specifies an attribute set which only allows printing attributes of type PrintJobAttribute . The methods add(Attribute) 55 and addAll(AttributeSet) 55 are respecified in this interface to indicate that only PrintJobAttribute instances are allowed in this set.
Destination: The Destination attribute provides a URI for an alternate destination of the printing output. As not an IPP attribute many print services will not support this attribute and only provide the printer device as a destination. An alternate output destination would be a file on the local harddisk given as a file scheme URI. If a print service does not support the destination attributes URI it will throw a PrintException. This exception may further implement the interface javax.print.URIException . IPP Compatibility: Destination is not an IPP 1.1 attribute.
PrintServiceAttribute: Marker interface for all attribute classes describing parameters or the status of a javax.print.PrintService . Instances of implementing attribute classes may be collected in a PrintServiceAttributeSet . A print service uses attributes of this type to inform about the status or the specific capabilities of itself. For example javax.print.attribute.standard.PagesPerMinute is used to specify the average printable pages per minute of the print service.
DocAttributeSet: DocAttributeSet specifies an attribute set which only allows printing attributes of type DocAttribute . The methods add(Attribute) 55 and addAll(AttributeSet) 55 are respecified in this interface to indicate that only DocAttribute instances are allowed in this set.
SupportedValuesAttribute: Marker interface for all attribute classes specifying the supported/allowed values for another printing attribute class. A javax.print.PrintService instance for example provides printing attribute classes implementing this interface to indicate that a specific attribute type is supported and if the supported values. E.g. a javax.print.attribute.standard.JobPrioritySupported instance indicates that the attribute class javax.print.attribute.standard.JobPriority is supported and provides the number of the possible priority levels.
DocAttribute: Marker interface for all attribute classes describing attributes of a javax.print.Doc object. Instances of implementing attribute classes may be collected in a DocAttributeSet . Attributes attached to a javax.print.Doc instance specify how the data should be printed. For example javax.print.attribute.standard.Chromaticity can be used to specify that a doc should be printed in color or monochrome.
PrintJobAttribute: Marker interface for all attribute classes describing attributes or the status of a ( javax.print.DocPrintJob object. Instances of implementing attribute classes may be collected in a PrintJobAttributeSet . A print service uses attributes of this type to inform about the status of a print job. For example javax.print.attribute.standard.DateTimeAtProcessing is used to report at which date and time a job has started processing.
MediaSize: The MediaSize printing attribute class specifies the size of a printing media. The size is defined in portrait orientation with x at the bottom edge and y at the left edge. There are several media sizes predefined through the nested classes. Further sizes may be provided by the application. MediaSize is not used as a printing attribute currently. It may be used to get the actual sizes for a named media or to find a suitable MediaSizeName instance by querying with the needed sizes. IPP Compatibility: MediaSize is not an IPP 1.1 attribute.
Home | Contact Us | Privacy Policy | Terms of Service |