public final class PrinterState extends EnumSyntax implements PrintServiceAttribute
PrinterStateReasons属性增加了PrinterState属性,以便在给定的打印机状态下提供有关打印机的更详细信息。 
        IPP兼容性:由返回的类别名称getName()是IPP属性名称。 枚举的整数值是IPP枚举值。 toString()方法返回属性值的IPP字符串表示形式。 
| Modifier and Type | Field and Description | 
|---|---|
| static PrinterState | IDLE
              表示新作业可以开始处理而无需等待。 
             | 
| static PrinterState | PROCESSING 
             表示作业正在处理中 
             新工作将在处理之前等待。 
             | 
| static PrinterState | STOPPED
              表示无法处理作业,需要进行干预。 
             | 
| static PrinterState | UNKNOWN
              打印机状态未知。 
             | 
| Modifier | Constructor and Description | 
|---|---|
| protected  | PrinterState(int value)
              使用给定的整数值构造新的打印机状态枚举值。 
             | 
| Modifier and Type | Method and Description | 
|---|---|
| 类<? extends Attribute> | getCategory()
              获取要用作此打印属性值的“类别”的打印属性类。 
             | 
| protected EnumSyntax[] | getEnumValueTable()
              返回PrinterState类的枚举值表。 
             | 
| String | getName()
              获取此属性值是一个实例的类别的名称。 
             | 
| protected String[] | getStringTable()
              返回PrinterState类的字符串表。 
             | 
clone, getOffset, getValue, hashCode, readResolve, toStringpublic static final PrinterState UNKNOWN
public static final PrinterState IDLE
public static final PrinterState PROCESSING
public static final PrinterState STOPPED
protected String[] getStringTable()
getStringTable在 
            EnumSyntax类 
           protected EnumSyntax[] getEnumValueTable()
getEnumValueTable在 
            EnumSyntax类 
           public final 类<? extends Attribute> getCategory()
对于PrinterState类,该类别是PrinterState类。
getCategory在接口 
            Attribute 
           java.lang.Class的实例。 
            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, 2014, Oracle and/or its affiliates. All rights reserved.