public class SettingsValues
extends Object
| Constructor and Description |
|---|
SettingsValues() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<String,String> |
getValues(java.util.List<String> settingNames,
Connection printerConnection,
PrinterLanguage printerLanguage,
LinkOsInformation version)
Get the values for a list of settings from a printer.
|
java.util.Map<String,String> |
setValues(java.util.Map<String,String> settingValues,
Connection printerConnection,
PrinterLanguage printerLanguage,
LinkOsInformation version)
Set each of the settings in settingValues on a printer.
|
public java.util.Map<String,String> getValues(java.util.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 java.util.Map<String,String> setValues(java.util.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
© 2017 ZIH Corp. All Rights Reserved.