Package | Description |
---|---|
com.zebra.sdk.device |
Provides implementation for device operations
|
com.zebra.sdk.printer |
Provides implementation for Zebra branded printer functionality.
|
com.zebra.sdk.settings |
Provides implementation for applying and retrieving settings from a device.
|
Modifier and Type | Method and Description |
---|---|
List<PrinterAlert> |
Profile.getConfiguredAlerts()
A list of objects detailing the alert configurations in a profile.
|
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.
|
void |
Profile.getObjectFromPrinter(OutputStream destinationStream,
String filePath) |
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.
|
byte[] |
Profile.getObjectFromPrinter(String filePath)
Retrieves a file from the profile 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[] |
Profile.getObjectFromPrinterViaFtp(String filePath,
String ftpPassword)
This method is not valid for a profile.
|
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.
|
byte[] |
Profile.getPrinterDownloadableObjectFromPrinter(String filePath)
Retrieves a file from the profile and returns the contents of that file as a byte array including all necessary
file wrappers for redownloading to a Zebra printer.
|
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.
|
List<PrinterObjectProperties> |
Profile.retrieveObjectsProperties() |
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 |
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.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 |
---|---|
static void |
PrinterUtil.convertGraphic(String filePathOnPrinter,
ZebraImageI image,
int width,
int height,
OutputStream convertedGraphicOutputStream)
Encodes supplied image in either ZPL or CPCL after dithering and resizing.
|
static void |
PrinterUtil.convertGraphic(String filePathOnPrinter,
ZebraImageI image,
OutputStream convertedGraphicOutputStream)
Encodes supplied image in either ZPL or CPCL after dithering and resizing.
|
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.
|
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 String[] |
PrinterUtil.deleteFileReportDeleted(String connectionString,
String filePath)
Deletes file(s) from the printer and reports what files were actually removed.
|
List<PrinterAlert> |
AlertProvider.getConfiguredAlerts()
A list of objects detailing the alert configuration of a printer.
|
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 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 |
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. |
Modifier and Type | Method and Description |
---|---|
static AlertCondition |
AlertCondition.createAlertCondition(String condition)
Creates an AlertCondition based on the
condition . |
static AlertDestination |
AlertDestination.createAlertDestination(String destination)
Creates an AlertDestination based on the
destination . |
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> |
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.
|
© 2016 ZIH Corp. All Rights Reserved.