Package | Description |
---|---|
com.zebra.sdk.comm |
Provides implementation for communication protocols.
|
com.zebra.sdk.device |
Provides implementation for device operations
|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
UsbNativeCodeConnectionException
Signals that an error has occurred on the Usb Native Code connection.
|
Modifier and Type | Method and Description |
---|---|
static Connection |
ConnectionBuilder.build(String descriptionString)
Creates a Connection type based on the contents of
descriptionString . |
int |
Connection.bytesAvailable()
Returns an estimate of the number of bytes that can be read from this connection without blocking.
|
int |
ConnectionA.bytesAvailable() |
int |
MultichannelConnection.bytesAvailable() |
void |
BluetoothConnection.close()
Closes the Bluetooth® connection.
|
void |
BluetoothStatusConnection.close()
Closes the Bluetooth® connection.
|
void |
Connection.close()
Closes this connection and releases any system resources associated with the connection.
|
void |
ConnectionA.close() |
void |
MultichannelConnection.close()
Closes both the printing and status channels of this MultichannelConnection.
|
void |
MultichannelConnection.closePrintingChannel()
Closes the printing channel of this MultichannelConnection.
|
void |
MultichannelConnection.closeStatusChannel()
Closes the status channel of this MultichannelConnection.
|
ConnectionReestablisher |
BluetoothConnection.getConnectionReestablisher(long thresholdTime) |
ConnectionReestablisher |
Connection.getConnectionReestablisher(long thresholdTime)
Returns a
ConnectionReestablisher which allows for easy recreation of a connection which may have
been closed. |
ConnectionReestablisher |
ConnectionA.getConnectionReestablisher(long thresholdTime) |
ConnectionReestablisher |
MultichannelConnection.getConnectionReestablisher(long thresholdTime) |
ConnectionReestablisher |
MultichannelTcpConnection.getConnectionReestablisher(long thresholdTime) |
ConnectionReestablisher |
TcpConnection.getConnectionReestablisher(long thresholdTime) |
ConnectionReestablisher |
UsbConnection.getConnectionReestablisher(long thresholdTime) |
void |
BluetoothConnection.open()
Opens a Bluetooth® connection as specified in the constructor.
|
void |
BluetoothStatusConnection.open()
Opens a status only Bluetooth® connection as specified in the constructor.
|
void |
Connection.open()
Opens the connection to a device.
|
void |
ConnectionA.open() |
void |
MultichannelConnection.open()
Opens both the printing and status channel of this Multichannel connection.
|
void |
MultichannelConnection.openPrintingChannel()
Opens the printing channel of this Multichannel connection.
|
void |
MultichannelConnection.openStatusChannel()
Opens the status channel of this Multichannel connection.
|
byte[] |
Connection.read()
Reads all the available data from the connection.
|
byte[] |
ConnectionA.read() |
byte[] |
MultichannelConnection.read() |
void |
Connection.read(OutputStream destinationStream)
Reads all the available data from the connection.
|
void |
ConnectionA.read(OutputStream destinationStream) |
void |
MultichannelConnection.read(OutputStream destinationStream) |
int |
Connection.readChar()
Reads the next byte of data from the connection, similar to a Java InputStream.
|
int |
ConnectionA.readChar() |
int |
MultichannelConnection.readChar() |
void |
ConnectionReestablisher.reestablishConnection(PrinterReconnectionHandler handler)
Reestablishes a connection to a printer which may have been closed due to an event, like a reboot.
|
byte[] |
Connection.sendAndWaitForResponse(byte[] dataToSend,
int initialResponseTimeout,
int responseCompletionTimeout,
String terminator)
Sends
dataToSend and returns the response data. |
byte[] |
ConnectionA.sendAndWaitForResponse(byte[] dataToSend,
int initialResponseTimeout,
int responseCompletionTimeout,
String terminator) |
byte[] |
MultichannelConnection.sendAndWaitForResponse(byte[] dataToSend,
int initialResponseTimeout,
int responseCompletionTimeout,
String terminator) |
void |
Connection.sendAndWaitForResponse(OutputStream destinationStream,
InputStream sourceStream,
int initialResponseTimeout,
int responseCompletionTimeout,
String terminator)
Sends data from
sourceStream and writes the response data to destinationStream. |
void |
ConnectionA.sendAndWaitForResponse(OutputStream destinationStream,
InputStream sourceStream,
int initialResponseTimeout,
int responseCompletionTimeout,
String terminator) |
void |
MultichannelConnection.sendAndWaitForResponse(OutputStream destinationStream,
InputStream sourceStream,
int initialResponseTimeout,
int responseCompletionTimeout,
String terminator) |
byte[] |
Connection.sendAndWaitForValidResponse(byte[] dataToSend,
int initialResponseTimeout,
int responseCompletionTimeout,
ResponseValidator validator)
Sends
dataToSend and returns the response data. |
byte[] |
ConnectionA.sendAndWaitForValidResponse(byte[] dataToSend,
int initialResponseTimeout,
int responseCompletionTimeout,
ResponseValidator validator) |
byte[] |
MultichannelConnection.sendAndWaitForValidResponse(byte[] dataToSend,
int initialResponseTimeout,
int responseCompletionTimeout,
ResponseValidator validator) |
void |
Connection.sendAndWaitForValidResponse(OutputStream destinationStream,
InputStream sourceStream,
int initialResponseTimeout,
int responseCompletionTimeout,
ResponseValidator validator)
Sends data from
sourceStream and writes the response data to destinationStream. |
void |
ConnectionA.sendAndWaitForValidResponse(OutputStream destinationStream,
InputStream sourceStream,
int initialResponseTimeout,
int responseCompletionTimeout,
ResponseValidator validator) |
void |
MultichannelConnection.sendAndWaitForValidResponse(OutputStream destinationStream,
InputStream sourceStream,
int initialResponseTimeout,
int responseCompletionTimeout,
ResponseValidator validator) |
void |
Connection.waitForData(int maxTimeout)
Causes the currently executing thread to sleep until
Connection.bytesAvailable() > 0, or for a maximum of
maxTimeout milliseconds. |
void |
ConnectionA.waitForData(int maxTimeout) |
void |
MultichannelConnection.waitForData(int maxTimeout) |
void |
Connection.write(byte[] data)
Writes
data.length bytes from the specified byte array to this output stream. |
void |
ConnectionA.write(byte[] data) |
void |
MultichannelConnection.write(byte[] data) |
void |
Connection.write(byte[] data,
int offset,
int length)
Writes
length bytes from data starting at offset . |
void |
ConnectionA.write(byte[] data,
int offset,
int length) |
void |
MultichannelConnection.write(byte[] data,
int offset,
int length) |
void |
Connection.write(InputStream dataSource)
Writes all available bytes from the data source to this output stream.
|
void |
ConnectionA.write(InputStream dataSource) |
void |
MultichannelConnection.write(InputStream dataSource) |
Modifier and Type | Method and Description |
---|---|
void |
SmartcardReader.close()
Turns the printer's smartcard reader off, if present.
|
void |
Profile.configureAlert(PrinterAlert alert) |
void |
Profile.configureAlerts(List<PrinterAlert> alerts) |
void |
FileUtilLinkOs.deleteFile(String filePath)
Deletes the file from the printer.
|
void |
Profile.deleteFile(String filePath)
Deletes the file from the profile.
|
byte[] |
SmartcardReader.doCommand(String asciiHexData)
Sends a CT_DATA command to the printer's smartcard reader, if present.
|
void |
Profile.downloadTteFont(InputStream sourceInputStream,
String pathOnPrinter)
Adds a TrueType® font to a profile and stores it at the specified path as a TrueType® extension (TTE).
|
void |
Profile.downloadTteFont(String sourceFilePath,
String pathOnPrinter)
Adds a TrueType® font file to a profile and stores it at the specified path as a TrueType® extension
(TTE).
|
void |
Profile.downloadTtfFont(InputStream sourceInputStream,
String pathOnPrinter)
Adds a TrueType® font file to a profile and stores it at the specified path as a TTF.
|
void |
Profile.downloadTtfFont(String sourceFilePath,
String pathOnPrinter)
Adds a TrueType® font file to a profile and stores it at the specified path as a TTF.
|
byte[] |
SmartcardReader.getATR()
Sends a CT_ATR command to the printer's smartcard reader, if present.
|
void |
FileUtilLinkOs.getObjectFromPrinter(OutputStream destinationStream,
String filePath)
Retrieves a file from the printer's file system and writes the contents of that file to destinationStream.
|
byte[] |
FileUtilLinkOs.getObjectFromPrinter(String filePath)
Retrieves a file from the printer's file system and returns the contents of that file as a byte array.
|
void |
FileUtilLinkOs.getObjectFromPrinterViaFtp(OutputStream destinationStream,
String filePath,
String ftpPassword)
Retrieves a file from the printer's file system via FTP and writes the contents of that file to
destinationStream.
|
void |
Profile.getObjectFromPrinterViaFtp(OutputStream destinationStream,
String filePath,
String ftpPassword) |
byte[] |
FileUtilLinkOs.getObjectFromPrinterViaFtp(String filePath,
String ftpPassword)
Retrieves a file from the printer's file system via FTP and returns the contents of that file as a byte array.
|
byte[] |
FileUtilLinkOs.getPrinterDownloadableObjectFromPrinter(String filePath)
Retrieves a file from the printer's file system and returns the contents of that file as a byte array including
all necessary file wrappers for redownloading to a Zebra printer.
|
List<StorageInfo> |
FileUtilLinkOs.getStorageInfo()
Retrieves storage information for all of the printer's available drives.
|
List<StorageInfo> |
Profile.getStorageInfo()
This method is not valid for a profile.
|
void |
Profile.printImage(String imageFilePath,
int x,
int y) |
void |
Profile.printImage(String imageFilePath,
int x,
int y,
int width,
int height,
boolean insideFormat) |
void |
Profile.printImage(ZebraImageI image,
int x,
int y,
int width,
int height,
boolean insideFormat) |
Map<String,String> |
Profile.processSettingsViaMap(Map<String,String> settingValuePairs)
Change or retrieve settings in the profile.
|
String[] |
MagCardReader.read(int timeoutMS)
Activates the device's magnetic card reader, if present, and waits for a card to be swiped.
|
void |
Profile.removeAlert(PrinterAlert alert)
Removes a configured alert from a profile.
|
void |
Profile.removeAllAlerts()
Removes all alerts currently in a profile.
|
String[] |
FileUtil.retrieveFileNames()
Retrieves the names of the files which are stored on the device.
|
String[] |
FileUtil.retrieveFileNames(String[] extensions)
Retrieves the names of the files which are stored on the device.
|
List<PrinterObjectProperties> |
FileUtil.retrieveObjectsProperties()
Retrieves the properties of the objects which are stored on the device.
|
void |
Profile.sendContents(String fileNameOnPrinter,
byte[] fileContents)
Adds a file to the profile named
fileNameOnPrinter with the file contents from
fileContents . |
void |
FileUtil.sendFileContents(String filePath)
Sends the contents of a file to the device.
|
void |
FileUtil.sendFileContents(String filePath,
ProgressMonitor handler)
Sends the contents of a file to the device.
|
List<String> |
ProfileToMirrorServer.sendToMirrorServer(String server,
String user,
String password)
Stores the profile to the mirror server.
|
void |
FileUtilLinkOs.storeFileOnPrinter(byte[] fileContents,
String fileNameOnPrinter)
Stores a file on the printer named
fileNameOnPrinter with the file contents from
fileContents using any required file wrappers. |
void |
Profile.storeFileOnPrinter(byte[] fileContents,
String fileNameOnPrinter)
Stores a file in the profile named
fileNameOnPrinter with the file contents from
fileContents using any required file wrappers. |
void |
FileUtilLinkOs.storeFileOnPrinter(String filePath)
Stores the file on the printer using any required file wrappers.
|
void |
Profile.storeFileOnPrinter(String filePath)
Stores the file in the profile using any required file wrappers.
|
void |
FileUtilLinkOs.storeFileOnPrinter(String filePath,
String fileNameOnPrinter)
Stores the file on the printer at the specified location and name using any required file wrappers.
|
void |
Profile.storeFileOnPrinter(String filePath,
String fileNameOnPrinter)
Stores the file in the profile at the specified location and name using any required file wrappers.
|
void |
Profile.storeImage(String deviceDriveAndFileName,
String imageFullPath,
int width,
int height) |
void |
Profile.storeImage(String deviceDriveAndFileName,
ZebraImageI image,
int width,
int height) |
Modifier and Type | Method and Description |
---|---|
void |
ToolsUtil.calibrate()
Sends the appropriate calibrate command to the printer.
|
void |
AlertProvider.configureAlert(PrinterAlert alert)
Configures an alert to be triggered when the alert's condition occurs or becomes resolved.
|
void |
AlertProvider.configureAlerts(List<PrinterAlert> alerts)
Configures a list of alerts to be triggered when their conditions occur or become resolved.
|
void |
ProfileUtil.createBackup(String pathToOutputFile)
Save a backup of your printer's settings, alerts, and files for later restoration.
|
static void |
PrinterUtil.createBackup(String connectionString,
String profilePath)
Create a backup of your printer's settings, alerts, and files.
|
static ZebraPrinterLinkOs |
ZebraPrinterFactory.createLinkOsPrinter(ZebraPrinter genericPrinter)
Create a wrapper around a Zebra printer that provides access to Link-OS features.
|
static ZebraPrinterLinkOs |
ZebraPrinterFactory.createLinkOsPrinter(ZebraPrinter genericPrinter,
LinkOsInformation info)
Create a wrapper around a Zebra printer that provides access to Link-OS features.
|
static ZebraPrinterLinkOs |
ZebraPrinterFactory.createLinkOsPrinter(ZebraPrinter genericPrinter,
LinkOsInformation info,
PrinterLanguage language)
Create a wrapper around a Zebra printer that provides access to Link-OS features.
|
static ZebraPrinterLinkOs |
ZebraPrinterFactory.createLinkOsPrinter(ZebraPrinter genericPrinter,
PrinterLanguage language)
Create a wrapper around a Zebra printer that provides access to Link-OS features.
|
void |
ProfileUtil.createProfile(OutputStream profileDestinationStream)
Create a profile of your printer's settings, alerts, and files for cloning to other printers.
|
void |
ProfileUtil.createProfile(String pathToOutputFile)
Create a profile of your printer's settings, alerts, and files for cloning to other printers.
|
static void |
PrinterUtil.createProfile(String connectionString,
String profilePath)
Create a profile of your printer's settings, alerts, and files for cloning to other printers.
|
static void |
PrinterUtil.deleteFile(String connectionString,
String filePath)
Deletes file(s) from the printer.
|
static String[] |
PrinterUtil.deleteFileReportDeleted(String connectionString,
String filePath)
Deletes file(s) from the printer and reports what files were actually removed.
|
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.
|
void |
FontUtil.downloadTteFont(InputStream sourceInputStream,
String pathOnPrinter)
Sends a TrueType® font to a printer and stores it at the specified path as a TrueType® extension (TTE).
|
void |
FontUtil.downloadTteFont(String sourceFilePath,
String pathOnPrinter)
Used to send a TrueType® TTE font file to a printer and store it at the specified path as a TrueType®
extension (TTE).
|
void |
FontUtil.downloadTtfFont(InputStream sourceInputStream,
String pathOnPrinter)
Sends a TrueType® font file to a printer and stores it at the specified path as a TTF.
|
void |
FontUtil.downloadTtfFont(String sourceFilePath,
String pathOnPrinter)
Sends a TrueType® font file to a printer and stores it at the specified path as a TTF.
|
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.
|
List<PrinterAlert> |
AlertProvider.getConfiguredAlerts()
A list of objects detailing the alert configuration of a printer.
|
PrinterStatus |
ZebraPrinter.getCurrentStatus()
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 |
PrinterUtil.getObjectFromPrinter(OutputStream destinationStream,
String connectionString,
String filePathOnPrinter)
Retrieves a file from the printer's file system and writes the contents of that file to an output stream.
|
static byte[] |
PrinterUtil.getObjectFromPrinter(String connectionString,
String filePathOnPrinter)
Retrieves a file from the printer's file system and returns the contents of that file as a byte[].
|
static void |
PrinterUtil.getObjectFromPrinterViaFtp(OutputStream destination,
String connectionString,
String filePathOnPrinter,
String ftpPassword)
Retrieves a file from the printer's file system via FTP and writes the contents of that file to an output stream.
|
static byte[] |
PrinterUtil.getObjectFromPrinterViaFtp(String connectionString,
String filePathOnPrinter,
String ftpPassword)
Retrieves a file from the printer's file system via FTP and returns the contents of that file as a byte[].
|
static List<String> |
PrinterUtil.getOdometerStatus(String connectionString)
Retrieves status of the printer odometer which includes the total print length, head clean counter, label dot
length, head new, latch open counter, and both user resettable counters.
See ConnectionBuilder for the format of connectionString . |
List<TcpPortStatus> |
ZebraPrinterLinkOs.getPortStatus()
Retrieve the TCP port status of the printer and returns a list of
TcpPortStatus describing the open
ports on the printer. |
static List<TcpPortStatus> |
PrinterUtil.getPortStatus(String connectionString)
Retrieves a list of currently open tcp ports on the printer.
See ConnectionBuilder for the format of connectionString . |
static List<String> |
PrinterUtil.getPrinterStatus(String connectionString)
Retrieves status of the printer which includes any error messages currently set along with the number of labels
remaining in queue, number of labels remaining in batch, and whether or not a label is currently being processed.
See ConnectionBuilder for the format of connectionString . |
static Map<String,Setting> |
PrinterUtil.getSettingsFromPrinter(String connectionString)
Retrieve all settings and their attributes from the specified printer.
See ConnectionBuilder for the format of connectionString . |
static String[] |
PrinterUtil.listFiles(String connectionString,
String filter)
Retrieves the names of the files which are stored on the device.
See ConnectionBuilder for the format of connectionString . |
void |
ProfileUtil.loadBackup(String pathToBackup)
Takes settings, alerts, and files from a backup, and applies them to a printer.
|
void |
ProfileUtil.loadBackup(String pathToBackup,
boolean isVerbose)
Takes settings, alerts, and files from a backup, and applies them to a printer.
|
static void |
PrinterUtil.loadBackup(String connectionString,
String backupPath)
Takes settings, alerts, and files from a backup, and applies them to a printer.
|
static void |
PrinterUtil.loadBackup(String connectionString,
String backupPath,
boolean isVerbose)
Takes settings, alerts, and files from a backup, and applies them to a printer.
|
void |
ProfileUtil.loadProfile(String pathToProfile)
Takes settings, alerts, and files from a profile, and applies them to a printer.
|
void |
ProfileUtil.loadProfile(String pathToProfile,
FileDeletionOption filesToDelete,
boolean isVerbose)
Takes settings, alerts, and files from a profile, and applies them to a printer.
|
static void |
PrinterUtil.loadProfile(String connectionString,
String profilePath,
FileDeletionOption filesToDelete)
Takes settings, alerts, and files from a profile, and applies them to a printer.
|
static void |
PrinterUtil.loadProfile(String connectionString,
String profilePath,
FileDeletionOption filesToDelete,
boolean isVerbose)
Takes settings, alerts, and files from a profile, and applies them to a printer.
|
static void |
CsvPrinter.print(InputStream sourceDataStream,
String templateFilename,
String defaultQuantityString,
OutputStream outputDataStream)
Print template formats using comma separated values as input data.
|
static void |
CsvPrinter.print(InputStream sourceDataStream,
String templateFilename,
String defaultQuantityString,
OutputStream outputDataStream,
boolean verbose)
Print template formats using comma separated values as input data.
|
static void |
CsvPrinter.print(String destinationDevice,
InputStream sourceDataStream,
String templateFilename,
String defaultQuantityString,
OutputStream outputDataStream)
Print template formats using comma separated values as input data.
|
static void |
CsvPrinter.print(String destinationDevice,
InputStream sourceDataStream,
String templateFilename,
String defaultQuantityString,
OutputStream outputDataStream,
boolean verbose)
Print template formats using comma separated values as input data.
|
static void |
PrinterUtil.printConfigLabel(String connectionString)
Causes the specified printer to print a configuration label.
See ConnectionBuilder for the format of connectionString . |
void |
ToolsUtil.printConfigurationLabel()
Sends the appropriate print configuration command to the printer.
|
void |
ToolsUtilLinkOs.printDirectoryLabel()
Send the print directory label command to the printer.
|
static void |
PrinterUtil.printDirectoryLabel(String connectionString)
Causes the specified printer to print a directory listing of all the files saved on the printer.
See ConnectionBuilder for the format of connectionString . |
void |
GraphicsUtil.printImage(String imageFilePath,
int x,
int y)
Prints an image from the connecting device file system to the connected device as a monochrome image.
|
void |
GraphicsUtil.printImage(String imageFilePath,
int x,
int y,
int width,
int height,
boolean insideFormat)
Prints an image from the connecting device file system to the connected device as a monochrome image.
|
void |
GraphicsUtil.printImage(ZebraImageI image,
int x,
int y,
int width,
int height,
boolean insideFormat)
Prints an image to the connected device as a monochrome image.
|
static void |
PrinterUtil.printNetworkConfigLabel(String connectionString)
Causes the specified printer to print a network configuration label.
See ConnectionBuilder for the format of connectionString . |
void |
ToolsUtilLinkOs.printNetworkConfigurationLabel()
Send the print network configuration command to the printer.
|
void |
FormatUtil.printStoredFormat(String formatPathOnPrinter,
Map<Integer,String> vars)
Prints a stored format on the printer, filling in the fields specified by the Map.
|
void |
FormatUtil.printStoredFormat(String formatPathOnPrinter,
Map<Integer,String> vars,
String encoding)
Prints a stored format on the printer, filling in the fields specified by the Map.
|
void |
FormatUtil.printStoredFormat(String formatPathOnPrinter,
String[] vars)
Prints a stored format on the printer, filling in the fields specified by the array.
|
void |
FormatUtil.printStoredFormat(String formatPathOnPrinter,
String[] vars,
String encoding)
Prints a stored format on the printer, filling in the fields specified by the array.
|
void |
FormatUtilLinkOs.printStoredFormatWithVarGraphics(String storedFormatPath,
Map<Integer,String> vars)
Prints a stored format on the printer, filling in the fields specified by the
Map . |
void |
FormatUtilLinkOs.printStoredFormatWithVarGraphics(String storedFormatPath,
Map<Integer,String> vars,
String encoding)
Prints a stored format on the printer, filling in the fields specified by the
Map . |
void |
FormatUtilLinkOs.printStoredFormatWithVarGraphics(String storedFormatPath,
Map<Integer,ZebraImageI> imgVars,
Map<Integer,String> vars)
Prints a stored format on the printer, filling in the fields specified by the maps.
|
void |
FormatUtilLinkOs.printStoredFormatWithVarGraphics(String storedFormatPath,
Map<Integer,ZebraImageI> imgVars,
Map<Integer,String> vars,
String encoding)
Prints a stored format on the printer, filling in the fields specified by the maps.
|
static Map<String,String> |
SettingsSetter.process(String destinationDevice,
Map<String,String> settingsToSet)
Sends the
settingsToSet to the destinationDevice and then returns the updated setting
values. |
static String |
PrinterUtil.quickStatus(String connectionString)
Retrieves the quick status of the printer.
See ConnectionBuilder for the format of connectionString . |
void |
AlertProvider.removeAlert(PrinterAlert alert)
Removes a configured alert from a printer.
|
void |
AlertProvider.removeAllAlerts()
Removes all alerts currently configured on a printer.
|
void |
ToolsUtil.reset()
Sends the appropriate reset command to the printer.
|
void |
ToolsUtilLinkOs.resetNetwork()
Sends the network reset command to the printer.
|
static void |
PrinterUtil.resetNetwork(String connectionString)
Resets the network of the specified printer.
|
static void |
PrinterUtil.resetPrinter(String connectionString)
|
void |
ToolsUtil.restoreDefaults()
Sends the appropriate restore defaults command to the printer.
|
void |
ToolsUtilLinkOs.restoreNetworkDefaults()
Send the restore network defaults command to the printer.
|
static void |
PrinterUtil.restoreNetworkDefaults(String connectionString)
Restores the printer's network settings to their factory default configuration.
|
static void |
PrinterUtil.restorePrinterDefaults(String connectionString)
Restores the printer's settings to their factory default configuration.
See ConnectionBuilder for the format of connectionString . |
void |
FormatUtil.retrieveFormatFromPrinter(OutputStream formatData,
String formatPathOnPrinter)
Retrieves a format from the printer.
|
byte[] |
FormatUtil.retrieveFormatFromPrinter(String formatPathOnPrinter)
Retrieves a format from the printer.
|
void |
ToolsUtil.sendCommand(String command)
Converts the specified command to bytes using the Java default charset and sends the bytes to the printer.
|
void |
ToolsUtil.sendCommand(String command,
String encoding)
Converts the specified command to bytes using the specified charset "encoding" and sends the bytes to the
printer.
|
static void |
PrinterUtil.sendContents(String connectionString,
InputStream data)
Send contents of
data directly to the device specified via connectionString using UTF-8
encoding.See ConnectionBuilder for the format of connectionString . |
static void |
PrinterUtil.sendContents(String connectionString,
InputStream data,
String encoding)
Send contents of
data directly to the device specified via connectionString using
encoding .See ConnectionBuilder for the format of connectionString . |
static void |
PrinterUtil.sendContents(String connectionString,
String data)
Send contents of
data directly to the device specified via connectionString using UTF-8
encoding. |
static void |
PrinterUtil.sendContents(String connectionString,
String data,
String encoding)
Send contents of
data directly to the device specified via connectionString using
encoding .See ConnectionBuilder for the format of connectionString . |
static void |
PrinterUtil.sendJSON(String connectionString,
InputStream data,
String encoding)
Send contents of
data directly to the device specified via connectionString using
encoding .See ConnectionBuilder for the format of connectionString . |
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 |
ToolsUtilLinkOs.setClock(String dateTime)
Set the RTC time and date on the printer.
|
static void |
PrinterUtil.setClock(String connectionString,
String dateTime)
|
static void |
PrinterUtil.storeFile(String connectionString,
String filePath,
String remoteName)
Stores the file on the printer at the specified location and name using any required file wrappers.
See ConnectionBuilder for the format of connectionString . |
void |
GraphicsUtil.storeImage(String deviceDriveAndFileName,
String imageFullPath,
int width,
int height)
Stores the specified
image to the connected printer as a monochrome image. |
void |
GraphicsUtil.storeImage(String deviceDriveAndFileName,
ZebraImageI image,
int width,
int height)
Stores the specified
image to the connected printer as a monochrome image. |
void |
FirmwareUpdaterLinkOs.updateFirmware(String firmwareFilePath,
FirmwareUpdateHandler handler)
Update firmware on the printer using the default timeout of 7 minutes.
|
void |
FirmwareUpdaterLinkOs.updateFirmware(String firmwareFilePath,
long timeout,
FirmwareUpdateHandler handler)
Update firmware on the printer using the specified
timeout . |
static void |
PrinterUtil.updateFirmware(String connection,
String firmwareFilePath,
long timeout)
Update the printer firmware.
|
void |
FirmwareUpdaterLinkOs.updateFirmwareUnconditionally(String firmwareFilePath,
FirmwareUpdateHandler handler)
Update firmware on the printer, using the default timeout of 7 minutes, regardless of the firmware version
currently on the printer.
|
void |
FirmwareUpdaterLinkOs.updateFirmwareUnconditionally(String firmwareFilePath,
long timeout,
FirmwareUpdateHandler handler)
Update firmware on the printer, using the specified
timeout , regardless of the firmware version
currently on the printer. |
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 |
---|---|
static void |
BluetoothDiscoverer.findPrinters(android.content.Context context,
DiscoveryHandler discoveryHandler)
Find Bluetooth® devices that are discoverable.
Note: This method will return all devices found, not just Zebra printers Note: This method should not be called from the application main thread. |
static void |
BluetoothDiscoverer.findPrinters(android.content.Context context,
DiscoveryHandler discoveryHandler,
DeviceFilter deviceFilter)
Find Bluetooth® devices that are discoverable.
Note: This method will return all devices found, not just Zebra printers Note: This method should not be called from the application main thread. |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
SettingsProvider.getSettingsValues(List<String> listOfSettings)
Retrieves the device's setting values for a list of setting IDs.
|
String |
SettingsProvider.getSettingValue(String settingId)
Retrieves the device's setting value for a setting id.
|
Map<String,String> |
SettingsProvider.processSettingsViaMap(Map<String,String> settingValuePairs)
Change or retrieve printer settings.
|
© 2015 ZIH Corp. All Rights Reserved.