Package | Description |
---|---|
com.zebra.sdk.printer |
Provides implementation for Zebra branded printer functionality.
|
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 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 . |
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.
|
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 . |
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 . |
© 2016 ZIH Corp. All Rights Reserved.