Package | Description |
---|---|
com.zebra.sdk.comm |
Provides implementation for communication protocols.
|
com.zebra.sdk.printer |
Provides implementation for Zebra branded printer functionality.
|
Modifier and Type | Method and Description |
---|---|
void |
ConnectionReestablisher.reestablishConnection(PrinterReconnectionHandler handler)
Reestablishes a connection to a printer which may have been closed due to an event, like a reboot.
|
Modifier and Type | Method and Description |
---|---|
static void |
PrinterUtil.createBackup(String connectionString,
String profilePath)
Create a backup of your printer's settings, alerts, and files.
|
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 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(String[] cpclFwVersionPrefixes,
Connection connection)
Factory method to create the correct
ZebraPrinter concrete class based on the printer's control language. |
static PrinterLanguage |
PrinterLanguage.getLanguage(String name)
Converts the string name to the appropriate enum value.
|
static void |
PrinterUtil.getObjectFromPrinter(java.io.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(java.io.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 java.util.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 . |
static java.util.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 java.util.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.
|
static java.util.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 . |
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.
|
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 |
PrinterUtil.printConfigLabel(String connectionString)
Causes the specified printer to print a configuration label.
See ConnectionBuilder for the format of connectionString . |
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 . |
static void |
PrinterUtil.printNetworkConfigLabel(String connectionString)
Causes the specified printer to print a network configuration label.
See ConnectionBuilder for the format of connectionString . |
static String |
PrinterUtil.quickStatus(String connectionString)
Retrieves the quick status of the printer.
See ConnectionBuilder for the format of connectionString . |
static void |
PrinterUtil.resetNetwork(String connectionString)
Resets the network of the specified printer.
|
static void |
PrinterUtil.resetPrinter(String connectionString)
|
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 . |
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 |
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. |
© 2017 ZIH Corp. All Rights Reserved.