public class DiscoveredPrinterDriver extends DiscoveredPrinter
DiscoveredPrinter
that is returned when performing a Driver
Discovery.Modifier and Type | Field and Description |
---|---|
String |
driverName
Zebra Driver name.
|
String[] |
portNames
Local ports registered with the printer.
|
String |
printerName
Local printer name associated with the driver.
|
address
Constructor and Description |
---|
DiscoveredPrinterDriver(String printerName,
String driverName,
String[] portNames)
|
Modifier and Type | Method and Description |
---|---|
Connection |
getConnection()
Creates a connection based on the information in the DiscoveredPrinter response.
|
String |
toString()
Returns the name of the printer.
|
equals, getDiscoveryDataMap, hashCode
public final String[] portNames
public String driverName
public String printerName
public DiscoveredPrinterDriver(String printerName, String driverName, String[] portNames)
printerName
- The printer name.driverName
- The name of the ZebraDesigner driver.portNames
- The port name.public String toString()
toString
in class DiscoveredPrinter
Object.toString()
public Connection getConnection()
DiscoveredPrinter
getConnection
in class DiscoveredPrinter
Connection
to the discovered printerDiscoveredPrinter.getConnection()
© 2017 ZIH Corp. All Rights Reserved.