public final class PrinterIsAcceptingJobs extends EnumSyntax implements PrintServiceAttribute
PrinterState和PrinterStateReasons属性,因为其值不影响当前作业; 
       而是影响未来的工作。 
       如果值为NOT_ACCEPTING_JOBS,即使PrinterState为空闲,打印机也将拒绝作业。 
       如果值为ACCEPTING_JOBS,即使PrinterState为STOPPED,打印机也将接受作业。 
        IPP兼容性:对于ACCEPTING_JOBS ,IPP布尔值为“true”,NOT_ACCEPTING_JOBS为“false”。 getName()返回的类别名称是IPP属性名称。 枚举的整数值是IPP枚举值。 toString()方法返回属性值的IPP字符串表示形式。 
| Modifier and Type | Field and Description | 
|---|---|
| static PrinterIsAcceptingJobs | ACCEPTING_JOBS
              打印机正在接收作业。 
             | 
| static PrinterIsAcceptingJobs | NOT_ACCEPTING_JOBS
              打印机目前正在拒绝发送给它的任何作业。 
             | 
| Modifier | Constructor and Description | 
|---|---|
| protected  | PrinterIsAcceptingJobs(int value)
              构造新的打印机正在接受具有给定整数值的作业枚举值。 
             | 
| Modifier and Type | Method and Description | 
|---|---|
| 类<? extends Attribute> | getCategory()
              获取要用作此打印属性值的“类别”的打印属性类。 
             | 
| protected EnumSyntax[] | getEnumValueTable()
              返回PrinterIsAcceptingJobs类的枚举值表。 
             | 
| String | getName()
              获取此属性值是一个实例的类别的名称。 
             | 
| protected String[] | getStringTable()
              返回PrinterIsAcceptingJobs类的字符串表。 
             | 
clone, getOffset, getValue, hashCode, readResolve, toStringpublic static final PrinterIsAcceptingJobs NOT_ACCEPTING_JOBS
public static final PrinterIsAcceptingJobs ACCEPTING_JOBS
protected PrinterIsAcceptingJobs(int value)
value - 整数值。 
           protected String[] getStringTable()
getStringTable在 
            EnumSyntax 
           protected EnumSyntax[] getEnumValueTable()
getEnumValueTable在 
            EnumSyntax 
           public final 类<? extends Attribute> getCategory()
对于PrinterIsAcceptingJobs类,该类别是PrinterIsAcceptingJobs类。
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.