public class SettingsSetter
extends Object
Modifier and Type | Method and Description |
---|---|
static java.util.Map<String,String> |
process(String destinationDevice,
java.util.Map<String,String> settingsToSet)
Sends the
settingsToSet to the destinationDevice and then returns the updated setting
values. |
public static java.util.Map<String,String> process(String destinationDevice, java.util.Map<String,String> settingsToSet) throws ConnectionException, SettingsException
settingsToSet
to the destinationDevice
and then returns the updated setting
values.
Note: Due to the setting verification and validation, additional time and data traffic will be needed for each
SettingsSetter process
call. It is recommended to bundle all changing settings into one map and one
method call to reduce this overhead.
destinationDevice
- The connection string.settingsToSet
- The settings map to send to the printer.ConnectionException
- if there is an error communicating with the printer.SettingsException
- if the setting could not be set or retrieved.
© 2017 ZIH Corp. All Rights Reserved.