Package com.zebra.sdk.printer.discovery
Class DiscoveredPrinterDriver
Object
com.zebra.sdk.printer.discovery.DiscoveredPrinter
com.zebra.sdk.printer.discovery.DiscoveredPrinterDriver
- All Implemented Interfaces:
Serializable
Instance of
DiscoveredPrinter that is returned when performing a Driver
Discovery.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionZebra Driver name.final String[]Local ports registered with the printer.Local printer name associated with the driver.Fields inherited from class com.zebra.sdk.printer.discovery.DiscoveredPrinter
address -
Constructor Summary
ConstructorsConstructorDescriptionDiscoveredPrinterDriver(String printerName, String driverName, String[] portNames) -
Method Summary
Modifier and TypeMethodDescriptionCreates a connection based on the information in the DiscoveredPrinter response.toString()Returns the name of the printer.Methods inherited from class com.zebra.sdk.printer.discovery.DiscoveredPrinter
equals, getDiscoveryDataMap, hashCode
-
Field Details
-
portNames
Local ports registered with the printer. -
driverName
Zebra Driver name. -
printerName
Local printer name associated with the driver.
-
-
Constructor Details
-
DiscoveredPrinterDriver
- Parameters:
printerName- The printer name.driverName- The name of the ZebraDesigner driver.portNames- The port name.
-
-
Method Details
-
toString
Returns the name of the printer.- Overrides:
toStringin classDiscoveredPrinter- Returns:
- the printer name.
- See Also:
-
getConnection
Description copied from class:DiscoveredPrinterCreates a connection based on the information in the DiscoveredPrinter response.- Specified by:
getConnectionin classDiscoveredPrinter- Returns:
- a
Connectionto the discovered printer - See Also:
-