< prev index next >

src/java.desktop/share/classes/javax/print/attribute/standard/PrinterInfo.java

Print this page




  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 package javax.print.attribute.standard;
  26 
  27 import java.util.Locale;
  28 
  29 import javax.print.attribute.Attribute;
  30 import javax.print.attribute.TextSyntax;
  31 import javax.print.attribute.PrintServiceAttribute;
  32 
  33 /**
  34  * Class PrinterInfo is a printing attribute class, a text attribute, that
  35  * provides descriptive information about a printer. This could include things
  36  * like: <CODE>"This printer can be used for printing color transparencies for
  37  * HR presentations"</CODE>, or <CODE>"Out of courtesy for others, please
  38  * print only small (1-5 page) jobs at this printer"</CODE>, or even \
  39  * <CODE>"This printer is going away on July 1, 1997, please find a new
  40  * printer"</CODE>.
  41  * <P>
  42  * <B>IPP Compatibility:</B> The string value gives the IPP name value. The
  43  * locale gives the IPP natural language. The category name returned by
  44  * <CODE>getName()</CODE> gives the IPP attribute name.
  45  *
  46  * @author  Alan Kaminsky
  47  */
  48 public final class PrinterInfo extends TextSyntax
  49         implements PrintServiceAttribute {
  50 
  51     private static final long serialVersionUID = 7765280618777599727L;
  52 
  53     /**
  54      * Constructs a new printer info attribute with the given information
  55      * string and locale.
  56      *
  57      * @param  info    Printer information string.
  58      * @param  locale  Natural language of the text string. null




  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 package javax.print.attribute.standard;
  26 
  27 import java.util.Locale;
  28 
  29 import javax.print.attribute.Attribute;
  30 import javax.print.attribute.TextSyntax;
  31 import javax.print.attribute.PrintServiceAttribute;
  32 
  33 /**
  34  * Class PrinterInfo is a printing attribute class, a text attribute, that
  35  * provides descriptive information about a printer. This could include things
  36  * like: <CODE>"This printer can be used for printing color transparencies for
  37  * HR presentations"</CODE>, or <CODE>"Out of courtesy for others, please
  38  * print only small (1-5 page) jobs at this printer"</CODE>, or even
  39  * <CODE>"This printer is going away on July 1, 1997, please find a new
  40  * printer"</CODE>.
  41  * <P>
  42  * <B>IPP Compatibility:</B> The string value gives the IPP name value. The
  43  * locale gives the IPP natural language. The category name returned by
  44  * <CODE>getName()</CODE> gives the IPP attribute name.
  45  *
  46  * @author  Alan Kaminsky
  47  */
  48 public final class PrinterInfo extends TextSyntax
  49         implements PrintServiceAttribute {
  50 
  51     private static final long serialVersionUID = 7765280618777599727L;
  52 
  53     /**
  54      * Constructs a new printer info attribute with the given information
  55      * string and locale.
  56      *
  57      * @param  info    Printer information string.
  58      * @param  locale  Natural language of the text string. null


< prev index next >