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.remote.comm |
Provides implementation for communicating to Link-OS printers over Web Sockets.
|
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 |
ConnectionA
Abstract class which implements the default functionality of
Connection . |
class |
ConnectionStatusA
Abstract class which implements the default functionality of
StatusConnection . |
class |
DriverPrinterConnection
Establishes a USB 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 a direct connection to an attached Zebra USB printer without requiring the presence of a USB driver
|
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(OutputStream responseData,
String setting,
String value,
Connection printerConnection)
Constructs an SGD DO command and sends it to the printer.
|
static void |
SGD.DO(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 |
DiscoveredPrinterDriver.getConnection() |
Connection |
DiscoveredPrinterNetwork.getConnection() |
Connection |
DiscoveredUsbPrinter.getConnection() |
Modifier and Type | Method and Description |
---|---|
static Map<String,String> |
DiscoveryUtil.getDiscoveryDataMap(Connection connection)
Reads the discovery packet from the provided connection and returns a discovery data map
|
Modifier and Type | Class and Description |
---|---|
class |
MultichannelRemoteConnection
Establishes a Multichannel Remote connection to a device
|
class |
RemoteConnection
This class provides access to remotely connected devices.
|
class |
RemoteStatusConnection
Establishes a status only Remote connection to a device.
|
Modifier and Type | Method and Description |
---|---|
static Map<String,String> |
SettingsRanges.getRanges(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.
|
Map<String,String> |
SettingsValues.getValues(List<String> settingNames,
Connection printerConnection,
PrinterLanguage printerLanguage,
LinkOsInformation version)
Get the values for a list of settings from a printer.
|
Map<String,String> |
SettingsValues.setValues(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.
|
© 2016 ZIH Corp. All Rights Reserved.