public class SettingsValues extends Object
| Constructor and Description |
|---|
SettingsValues() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getValues(List<String> settingNames,
Connection printerConnection,
PrinterLanguage printerLanguage,
LinkOsInformation version)
Get the values for a list of settings from a printer.
|
Map<String,String> |
setValues(Map<String,String> settingValues,
Connection printerConnection,
PrinterLanguage printerLanguage,
LinkOsInformation version)
Set each of the settings in settingValues on a printer.
|
public Map<String,String> getValues(List<String> settingNames, Connection printerConnection, PrinterLanguage printerLanguage, LinkOsInformation version) throws ConnectionException, ZebraIllegalArgumentException
MultichannelConnection, prefer the status channel.settingNames - The settings to be retrieved.printerConnection - A connection to the printer.printerLanguage - The printer control language for the connection.version - The LinkOS version information.ConnectionException - If it was not possible to communicate with the printer.ZebraIllegalArgumentExceptionpublic Map<String,String> setValues(Map<String,String> settingValues, Connection printerConnection, PrinterLanguage printerLanguage, LinkOsInformation version) throws ConnectionException, ZebraIllegalArgumentException
MultichannelConnection, prefer the status channel.settingValues - Map from setting names to desired values.printerConnection - A connection to the printer.printerLanguage - The printer control language for the connection.version - The LinkOS version information.ConnectionException - If it was not possible to communicate with the printer.ZebraIllegalArgumentException
© 2016 ZIH Corp. All Rights Reserved.