Package | Description |
---|---|
com.zebra.sdk.comm |
Provides implementation for communication protocols.
|
com.zebra.sdk.printer |
Provides implementation for Zebra branded printer functionality.
|
com.zebra.sdk.printer.discovery |
Provides implementation for finding Zebra branded printers.
|
com.zebra.sdk.settings |
Provides implementation for applying and retrieving settings from a device.
|
com.zebra.sdk.weblink |
Provides implementation for Weblink configuration.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ConnectionWithWriteLogging
A connection to a device that copies data sent to the connection to the provided stream.
|
interface |
StatusConnection
A status connection to a Link-OS printer.
|
interface |
StatusConnectionWithWriteLogging
A status connection to a Link-OS printer.
|
Modifier and Type | Class and Description |
---|---|
class |
BluetoothConnection
Establishes a Bluetooth® connection to a printer
|
class |
BluetoothConnectionInsecure
Establishes an insecure Bluetooth® connection to a printer.
|
class |
BluetoothStatusConnection
Establishes a Bluetooth® status only connection to a Link-OS printer.
|
class |
BluetoothStatusConnectionInsecure
Establishes a status only insecure Bluetooth® connection to a Link-OS printer.
|
class |
ConnectionA
Abstract class which implements the default functionality of
Connection . |
class |
ConnectionStatusA
Abstract class which implements the default functionality of
StatusConnection . |
class |
MultichannelBluetoothConnection
Establishes a Bluetooth® label and status connection to a printer
|
class |
MultichannelConnection
Base class for Link-OS printers which support separate printing and status channels.
|
class |
MultichannelTcpConnection
Establishes a Multichannel TCP connection to a device
|
class |
TcpConnection
Establishes a TCP connection to a device
|
class |
TcpStatusConnection
Establishes a status only TCP connection to a device
|
class |
UsbConnection
Establishes an Android USB connection to an attached Zebra USB printer.
|
Modifier and Type | Method and Description |
---|---|
static Connection |
ConnectionBuilder.build(String descriptionString)
Creates a Connection type based on the contents of
descriptionString . |
Connection |
MultichannelConnection.getPrintingChannel()
Returns the underlying printing
Connection of this MultichannelConnection. |
Modifier and Type | Method and Description |
---|---|
static void |
ConnectionBuilder.addConnectionType(Class<? extends Connection> c)
Add a connection type to the ConnectionBuilder
|
Modifier and Type | Method and Description |
---|---|
Connection |
ZebraPrinter.getConnection()
Returns the printer's connection.
|
Modifier and Type | Method and Description |
---|---|
static void |
SGD.DO(java.io.OutputStream responseData,
String setting,
String value,
Connection printerConnection)
Constructs an SGD DO command and sends it to the printer.
|
static void |
SGD.DO(java.io.OutputStream responseData,
String setting,
String value,
Connection printerConnection,
int maxTimeoutForRead,
int timeToWaitForMoreData)
Constructs an SGD DO command and sends it to the printer.
|
static String |
SGD.DO(String setting,
String value,
Connection printerConnection)
Constructs an SGD DO command and sends it to the printer.
|
static String |
SGD.DO(String setting,
String value,
Connection printerConnection,
int maxTimeoutForRead,
int timeToWaitForMoreData)
Constructs an SGD DO command and sends it to the printer.
|
static String |
SGD.GET(String setting,
Connection printerConnection)
Constructs an SGD GET command and sends it to the printer.
|
static String |
SGD.GET(String setting,
Connection printerConnection,
int maxTimeoutForRead,
int timeToWaitForMoreData)
Constructs an SGD GET command and sends it to the printer.
|
static PrinterStatus |
PrinterUtil.getCurrentStatus(Connection printerConnection,
PrinterLanguage language)
Returns a new instance of
PrinterStatus that can be used to determine the status of a printer. |
static ZebraPrinter |
ZebraPrinterFactory.getInstance(Connection connection)
Factory method to create the correct
ZebraPrinter concrete class based on the printer's control language. |
static ZebraPrinter |
ZebraPrinterFactory.getInstance(PrinterLanguage language,
Connection connection)
Factory method to create the correct
ZebraPrinter concrete class based on the provided printer control
language. |
static ZebraPrinter |
ZebraPrinterFactory.getInstance(String[] cpclFwVersionPrefixes,
Connection connection)
Factory method to create the correct
ZebraPrinter concrete class based on the printer's control language. |
static ZebraPrinterLinkOs |
ZebraPrinterFactory.getLinkOsPrinter(Connection connection)
Create Link-OS Zebra printer from a connection that provides access to Link-OS features.
|
static ZebraPrinterLinkOs |
ZebraPrinterFactory.getLinkOsPrinter(Connection connection,
LinkOsInformation info)
Create Link-OS Zebra printer from a connection that provides access to Link-OS features.
|
static ZebraPrinterLinkOs |
ZebraPrinterFactory.getLinkOsPrinter(Connection connection,
LinkOsInformation info,
PrinterLanguage language)
Create Link-OS Zebra printer from a connection that provides access to Link-OS features.
|
static ZebraPrinterLinkOs |
ZebraPrinterFactory.getLinkOsPrinter(Connection connection,
PrinterLanguage language)
Create Link-OS Zebra printer from a connection that provides access to Link-OS features.
|
static void |
SGD.SET(String setting,
int value,
Connection printerConnection)
Constructs an SGD SET command and sends it to the printer.
|
static void |
SGD.SET(String setting,
String value,
Connection printerConnection)
Constructs an SGD SET command and sends it to the printer.
|
void |
ZebraPrinter.setConnection(Connection newConnection)
Changes the printer's connection.
|
Constructor and Description |
---|
PrinterStatus(Connection printerConnection)
Constructs a PrinterStatus instance that can be used to determine the status of a printer.
|
Modifier and Type | Method and Description |
---|---|
abstract Connection |
DiscoveredPrinter.getConnection()
Creates a connection based on the information in the DiscoveredPrinter response.
|
Connection |
DiscoveredPrinterBluetooth.getConnection() |
Connection |
DiscoveredPrinterNetwork.getConnection() |
Connection |
DiscoveredPrinterUsb.getConnection() |
Modifier and Type | Method and Description |
---|---|
static java.util.Map<String,String> |
DiscoveryUtil.getDiscoveryDataMap(Connection connection)
Reads the discovery packet from the provided connection and returns a discovery data map
|
Modifier and Type | Method and Description |
---|---|
static java.util.Map<String,String> |
SettingsRanges.getRanges(java.util.List<String> settings,
Connection printerConnection,
PrinterLanguage printerLanguage,
LinkOsInformation version)
Use the LinkOS 3.2 JSON syntax to get the ranges for a list of SDGs, without the need to use an allconfig.
|
java.util.Map<String,String> |
SettingsValues.getValues(java.util.List<String> settingNames,
Connection printerConnection,
PrinterLanguage printerLanguage,
LinkOsInformation version)
Get the values for a list of settings from a printer.
|
java.util.Map<String,String> |
SettingsValues.setValues(java.util.Map<String,String> settingValues,
Connection printerConnection,
PrinterLanguage printerLanguage,
LinkOsInformation version)
Set each of the settings in settingValues on a printer.
|
Constructor and Description |
---|
WeblinkConfigurator(Connection connection)
Initializes a new instance of the WeblinkConfiguratior class.
|
© 2017 ZIH Corp. All Rights Reserved.