public enum PrinterProtocol extends Enum<PrinterProtocol>
Enum Constant and Description |
---|
CIFS
The Common Internet File System printing protocol, used primarily on the
Windows operating system.
|
CUPS
A printing protocol (named common UNIX printing system) used for Unix operating systems that
enables a computer to function as a print server and able to accept print requests from client applications,
process them, and send them to configured printers.
|
DirectIP
A standard protocol for remote printing as well as managing print jobs.
|
LPD
A printing protocol (named Line Printer Daemon protocol or Line Printer Remote protocol)
that provide network print server functionality for Unix-based systems.
|
SharedPrinter
A printing protocol that enable a computer to use a printer that has been configured for that computer.
|
Modifier and Type | Method and Description |
---|---|
String |
toString()
Returns a string representation of this enumeration value.
|
static PrinterProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrinterProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrinterProtocol CUPS
public static final PrinterProtocol DirectIP
public static final PrinterProtocol LPD
public static final PrinterProtocol SharedPrinter
public static final PrinterProtocol CIFS
public static PrinterProtocol[] values()
for (PrinterProtocol c : PrinterProtocol.values()) System.out.println(c);
public static PrinterProtocol 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 String toString()
toString
in class Enum<PrinterProtocol>
Copyright © 1982–2023 Adobe Systems Incorporated. All rights reserved.