src/share/classes/javax/print/attribute/standard/JobKOctets.java

Print this page




 100  * <TD>Implementation dependent*</TD>
 101  * </TR>
 102  * <TR>
 103  * <TD>java.awt.print.Printable</TD>
 104  * <TD>Implementation dependent*</TD>
 105  * </TR>
 106  * <TR>
 107  * <TD>java.awt.print.Pageable</TD>
 108  * <TD>Implementation dependent*</TD>
 109  * </TR>
 110  * </TABLE>
 111  * <P>
 112  * * In these cases the Print Service itself generates the print data sent
 113  * to the printer. If the Print Service supports the JobKOctets attribute, for
 114  * these cases the Print Service itself must calculate the size of the print
 115  * data, replacing any JobKOctets value the client specified.
 116  * <P>
 117  * <B>IPP Compatibility:</B> The integer value gives the IPP integer value. The
 118  * category name returned by <CODE>getName()</CODE> gives the IPP attribute
 119  * name.
 120  * <P>
 121  *
 122  * @see JobKOctetsSupported
 123  * @see JobKOctetsProcessed
 124  * @see JobImpressions
 125  * @see JobMediaSheets
 126  *
 127  * @author  Alan Kaminsky
 128  */
 129 public final class JobKOctets   extends IntegerSyntax
 130         implements PrintRequestAttribute, PrintJobAttribute {
 131 
 132     private static final long serialVersionUID = -8959710146498202869L;
 133 
 134     /**
 135      * Construct a new job K octets attribute with the given integer value.
 136      *
 137      * @param  value  Integer value.
 138      *
 139      * @exception  IllegalArgumentException
 140      *  (Unchecked exception) Thrown if <CODE>value</CODE> is less than 0.




 100  * <TD>Implementation dependent*</TD>
 101  * </TR>
 102  * <TR>
 103  * <TD>java.awt.print.Printable</TD>
 104  * <TD>Implementation dependent*</TD>
 105  * </TR>
 106  * <TR>
 107  * <TD>java.awt.print.Pageable</TD>
 108  * <TD>Implementation dependent*</TD>
 109  * </TR>
 110  * </TABLE>
 111  * <P>
 112  * * In these cases the Print Service itself generates the print data sent
 113  * to the printer. If the Print Service supports the JobKOctets attribute, for
 114  * these cases the Print Service itself must calculate the size of the print
 115  * data, replacing any JobKOctets value the client specified.
 116  * <P>
 117  * <B>IPP Compatibility:</B> The integer value gives the IPP integer value. The
 118  * category name returned by <CODE>getName()</CODE> gives the IPP attribute
 119  * name.

 120  *
 121  * @see JobKOctetsSupported
 122  * @see JobKOctetsProcessed
 123  * @see JobImpressions
 124  * @see JobMediaSheets
 125  *
 126  * @author  Alan Kaminsky
 127  */
 128 public final class JobKOctets   extends IntegerSyntax
 129         implements PrintRequestAttribute, PrintJobAttribute {
 130 
 131     private static final long serialVersionUID = -8959710146498202869L;
 132 
 133     /**
 134      * Construct a new job K octets attribute with the given integer value.
 135      *
 136      * @param  value  Integer value.
 137      *
 138      * @exception  IllegalArgumentException
 139      *  (Unchecked exception) Thrown if <CODE>value</CODE> is less than 0.