public enum IppOperations extends Enum<IppOperations>
+---------------+---------------------------------------------------+ | Value | Operation Name | +---------------+---------------------------------------------------+ | 0x0000 | reserved, not used | +---------------+---------------------------------------------------+ | 0x0001 | reserved, not used | +---------------+---------------------------------------------------+ | 0x0002 | Print-Job | +---------------+---------------------------------------------------+ | 0x0003 | Print-URI | +---------------+---------------------------------------------------+ | 0x0004 | Validate-Job | +---------------+---------------------------------------------------+ | 0x0005 | Create-Job | +---------------+---------------------------------------------------+ | 0x0006 | Send-Document | +---------------+---------------------------------------------------+ | 0x0007 | Send-URI | +---------------+---------------------------------------------------+ | 0x0008 | Cancel-Job | +---------------+---------------------------------------------------+ | 0x0009 | Get-Job-Attributes | +---------------+---------------------------------------------------+ | 0x000a | Get-Jobs | +---------------+---------------------------------------------------+ | 0x000b | Get-Printer-Attributes | +---------------+---------------------------------------------------+ | 0x000c | Hold-Job | +---------------+---------------------------------------------------+ | 0x000d | Release-Job | +---------------+---------------------------------------------------+ | 0x000e | Restart-Job | +---------------+---------------------------------------------------+ | 0x000f | reserved for a future operation | +---------------+---------------------------------------------------+ | 0x0010 | Pause-Printer | +---------------+---------------------------------------------------+ | 0x0011 | Resume-Printer | +---------------+---------------------------------------------------+ | 0x0012 | Purge-Jobs | +---------------+---------------------------------------------------+ | 0x0013-0x3fff | additional registered operations (see the IANA | | | IPP registry and Section 7.8) | +---------------+---------------------------------------------------+ | 0x4000-0x7fff | reserved for vendor extensions (see Section 7.8) | +---------------+---------------------------------------------------+aus https://tools.ietf.org/html/rfc8011#section-5.4.15
| Enum Constant and Description |
|---|
ADDITIONAL_REGISTERED_OPERATIONS |
CANCEL_JOB |
CANCEL_SUBSCRIPTION |
CREATE_JOB
Create a print job.
|
CREATE_JOB_SUBSCRIPTION |
CREATE_PRINTER_SUBSCRIPTION |
DISABLE_PRINTER |
ENABLE_PRINTER |
GET_JOB_ATTRIBUTES |
GET_JOBS |
GET_NOTIFICATIONS |
GET_PRINTER_ATTRIBUTES |
GET_SUBSCRIPTION_ATTRIBUTES |
GET_SUBSCRIPTIONS |
HOLD_JOB |
PAUSE_PRINTER |
PRINT_JOB
Print a file.
|
PRINT_URI
Print URI.
|
PURGE_JOBS |
RELEASE_JOB |
RENEW_SUBSCRIPTION |
RESERVED_0
Reserved, not used.
|
RESERVED_1
Reserved, not used.
|
RESERVED_FOR_VENDOR_EXTENSIONS |
RESTART_JOB |
RESUME_PRINTER |
SEND_DOCUMENT |
SEND_URI |
SET_JOB_ATTRIBUTES |
VALIDATE_JOB
Validate job attributes.
|
| Modifier and Type | Method and Description |
|---|---|
short |
getCode()
Gets the operation id or op-code of the operation.
|
static IppOperations |
of(int id)
Allows you to map an id (or op-code) to the corresponding operation.
|
String |
toString()
This implementation generates the same representation as described in
section RFC-8011 (section 5.4.15).
|
static IppOperations |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IppOperations[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IppOperations RESERVED_0
public static final IppOperations RESERVED_1
public static final IppOperations PRINT_JOB
public static final IppOperations PRINT_URI
public static final IppOperations VALIDATE_JOB
public static final IppOperations CREATE_JOB
public static final IppOperations SEND_DOCUMENT
public static final IppOperations SEND_URI
public static final IppOperations CANCEL_JOB
public static final IppOperations GET_JOB_ATTRIBUTES
public static final IppOperations GET_JOBS
public static final IppOperations GET_PRINTER_ATTRIBUTES
public static final IppOperations HOLD_JOB
public static final IppOperations RELEASE_JOB
public static final IppOperations RESTART_JOB
public static final IppOperations PAUSE_PRINTER
public static final IppOperations RESUME_PRINTER
public static final IppOperations PURGE_JOBS
public static final IppOperations SET_JOB_ATTRIBUTES
public static final IppOperations CREATE_PRINTER_SUBSCRIPTION
public static final IppOperations CREATE_JOB_SUBSCRIPTION
public static final IppOperations GET_SUBSCRIPTION_ATTRIBUTES
public static final IppOperations GET_SUBSCRIPTIONS
public static final IppOperations RENEW_SUBSCRIPTION
public static final IppOperations CANCEL_SUBSCRIPTION
public static final IppOperations GET_NOTIFICATIONS
public static final IppOperations ENABLE_PRINTER
public static final IppOperations DISABLE_PRINTER
public static final IppOperations ADDITIONAL_REGISTERED_OPERATIONS
public static final IppOperations RESERVED_FOR_VENDOR_EXTENSIONS
public static IppOperations[] values()
for (IppOperations c : IppOperations.values()) System.out.println(c);
public static IppOperations valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic short getCode()
public String toString()
toString in class Enum<IppOperations>public static IppOperations of(int id)
id - e.g. 0x0002Copyright © 2018. All rights reserved.