Uses of Class
com.zebra.sdk.device.ZebraIllegalArgumentException
Packages that use ZebraIllegalArgumentException
Package
Description
Provides implementation for device operations
Provides implementation for Zebra branded printer functionality.
Provides implementation for applying and retrieving settings from a device.
-
Uses of ZebraIllegalArgumentException in com.zebra.sdk.device
Methods in com.zebra.sdk.device that throw ZebraIllegalArgumentExceptionModifier and TypeMethodDescriptionvoidFileUtilLinkOs.deleteFileOnPrinterProtected(String filePath, String authPassword) Deletes the file from the printer on protected mode.voidProfile.deleteFileOnPrinterProtected(String filePath, String authPassword) Profile.getConfiguredAlerts()A list of objects detailing the alert configurations in a profile.voidFileUtilLinkOs.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.voidProfile.getObjectFromPrinter(OutputStream destinationStream, String filePath) byte[]Profile.getObjectFromPrinter(String filePath) Retrieves a file from the profile and returns the contents of that file as a byte array.voidFileUtilLinkOs.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.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.voidProfile.getObjectFromPrinterViaFtp(OutputStream destinationStream, String filePath, String ftpPassword) 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.FileUtil.retrieveObjectsProperties()Retrieves the properties of the objects which are stored on the device.Profile.retrieveObjectsProperties()voidFileUtilLinkOs.storeFileOnPrinter(byte[] fileContents, String fileNameOnPrinter) Stores a file on the printer namedfileNameOnPrinterwith the file contents fromfileContentsusing any required file wrappers.voidFileUtilLinkOs.storeFileOnPrinter(String filePath) Stores the file on the printer using any required file wrappers.voidFileUtilLinkOs.storeFileOnPrinter(String filePath, String fileNameOnPrinter) Stores the file on the printer at the specified location using specified name using any required file wrappers.voidProfile.storeFileOnPrinter(String filePath) Stores the file in the profile using any required file wrappers.voidFileUtilLinkOs.storeFileOnPrinterProtected(String filePath, String authPassword) Stores the file on the printer in Protected Mode, available at the specified location and provided authentication password using the required file wrapper(s).voidFileUtilLinkOs.storeFileOnPrinterProtected(String filePath, String fileNameOnPrinter, String authPassword) Stores the file on the printer in Protected Mode, available at the specified location, with the specified name and provided authentication password using the required file wrapper(s).voidProfile.storeFileOnPrinterProtected(String filePath, String authPassword) voidProfile.storeFileOnPrinterProtected(String filePath, String fileNameOnPrinter, String authPassword) voidProfile.storeImage(String deviceDriveAndFileName, ZebraImageI image, int width, int height) voidProfile.storeImage(String deviceDriveAndFileName, String imageFullPath, int width, int height) -
Uses of ZebraIllegalArgumentException in com.zebra.sdk.printer
Methods in com.zebra.sdk.printer that throw ZebraIllegalArgumentExceptionModifier and TypeMethodDescriptionstatic voidPrinterUtil.convertGraphic(String filePathOnPrinter, ZebraImageI image, int width, int height, OutputStream convertedGraphicOutputStream) Encodes supplied image in either ZPL or CPCL after dithering and resizing.static voidPrinterUtil.convertGraphic(String filePathOnPrinter, ZebraImageI image, OutputStream convertedGraphicOutputStream) Encodes supplied image in either ZPL or CPCL after dithering and resizing.static voidPrinterUtil.createBackup(String connectionString, String profilePath) Create a backup of your printer's settings, alerts, and files.voidProfileUtil.createBackup(String pathToOutputFile) Save a backup of your printer's settings, alerts, and files for later restoration.static voidPrinterUtil.createProfile(String connectionString, String profilePath) Create a profile of your printer's settings, alerts, and files for cloning to other printers.voidProfileUtil.createProfile(OutputStream profileDestinationStream) Create a profile of your printer's settings, alerts, and files for cloning to other printers.voidProfileUtil.createProfile(String pathToOutputFile) Create a profile of your printer's settings, alerts, and files for cloning to other printers.static voidPrinterUtil.deleteFile(String connectionString, String filePath) Deletes file(s) from the printer.static voidPrinterUtil.deleteFile(String connectionString, String filePath, String authPassword) For printers in Protected Mode: 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 String[]PrinterUtil.deleteFileReportDeleted(String connectionString, String filePath, String authPassword) For printers in Protected Mode: Deletes file(s) from the printer and reports what files were actually removed.AlertProvider.getConfiguredAlerts()A list of objects detailing the alert configuration of a printer.static voidPrinterUtil.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 voidPrinterUtil.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[]Retrieves the names of the files which are stored on the device.
See ConnectionBuilder for the format ofconnectionString.static voidPrinterUtil.resetNetwork(String connectionString) Resets the network of the specified printer.static voidPrinterUtil.resetNetwork(String connectionString, String authPassword) For printers in Protected Mode: Resets the network configuration of a Zebra printer connected via the specified connection string.voidToolsUtilLinkOs.resetNetworkProtected(String authPassword) Sends the network reset command to the printer on protected mode.static voidPrinterUtil.resetPrinter(String connectionString) static voidPrinterUtil.resetPrinter(String connectionString, String authPassword) For printers in Protected Mode: Resets the specified printer.voidToolsUtilLinkOs.resetProtected(String authPassword) Sends the appropriate reset command to the printer on protected mode.voidASMUtilLinkOs.restoreAsmDefaults(String authPassword, String sgdBranch) Sends the appropriate restore command for specified sgd branch to the printer in protected mode.static voidPrinterUtil.restoreAsmDefaults(String connectionString, String authPassword, String sgdBranch) For printers in Protected Mode: Restores the specified SGD branch(ip,wlan or power etc) configuration settings of a Zebra Link-OS printer in protected mode to their default values.static voidPrinterUtil.restoreNetworkDefaults(String connectionString) Restores the network settings of a Zebra Link-OS printer to their default values.static voidPrinterUtil.restorePrinterDefaults(String connectionString) Restores a Zebra printer to its default settings.static voidvoidSet the RTC time and date on the printer.static voidStores the file on the printer at the specified location and with specified name using any required file wrappers.
See ConnectionBuilder for the format ofconnectionString.static voidPrinterUtil.storeFile(String connectionString, String filePath, String remoteName, String authPassword) For printers in Protected Mode: Stores the file on the printer at the specified location and name using any required file wrappers.
If the printer is in protected mode, authentication is required via the provided password for file types (NRD, NRE and PAC).voidGraphicsUtil.storeImage(String deviceDriveAndFileName, ZebraImageI image, int width, int height) Stores the specifiedimageto the connected printer as a monochrome image.voidGraphicsUtil.storeImage(String deviceDriveAndFileName, String imageFullPath, int width, int height) Stores the specifiedimageto the connected printer as a monochrome image.voidFirmwareUpdaterLinkOs.updateFirmware(String firmwareFilePath, long timeout, FirmwareUpdateHandler handler) Update firmware on the printer using the specifiedtimeout.voidFirmwareUpdaterLinkOs.updateFirmware(String firmwareFilePath, FirmwareUpdateHandler handler) Update firmware on the printer using the default timeout of 10 minutes.static voidPrinterUtil.updateFirmware(String connection, String firmwareFilePath, long timeout) Update the printer firmware.voidFirmwareUpdaterLinkOs.updateFirmwareUnconditionally(String firmwareFilePath, long timeout, FirmwareUpdateHandler handler) Update firmware on the printer, using the specifiedtimeout, regardless of the firmware version currently on the printer.voidFirmwareUpdaterLinkOs.updateFirmwareUnconditionally(String firmwareFilePath, FirmwareUpdateHandler handler) Update firmware on the printer, using the default timeout of 10 minutes, regardless of the firmware version currently on the printer. -
Uses of ZebraIllegalArgumentException in com.zebra.sdk.settings
Methods in com.zebra.sdk.settings that throw ZebraIllegalArgumentExceptionModifier and TypeMethodDescriptionstatic AlertConditionAlertCondition.createAlertCondition(String condition) Creates an AlertCondition based on thecondition.static AlertDestinationAlertDestination.createAlertDestination(String destination) Creates an AlertDestination based on thedestination.SettingsProvider.getSettingsValues(List<String> listOfSettings) Retrieves the device's setting values for a list of setting IDs.SettingsProvider.getSettingValue(String settingId) Retrieves the device's setting value for a setting id.SettingsValues.getValues(List<String> settingNames, Connection printerConnection, PrinterLanguage printerLanguage, LinkOsInformation version) Get the values for a list of settings from a printer.SettingsValues.setValues(Map<String, String> settingValues, Connection printerConnection, PrinterLanguage printerLanguage, LinkOsInformation version) Set each of the settings in settingValues on a printer.