SettingsValuesSetValues Method
|
Set each of the settings in settingValues on a printer.
Namespace: Zebra.Sdk.SettingsAssembly: SdkApi.Core (in SdkApi.Core.dll) Version: 3.0.3271
Syntax public Dictionary<string, string> SetValues(
Dictionary<string, string> settingValues,
Connection printerConnection,
PrinterLanguage printerLanguage,
LinkOsInformation version
)
Public Function SetValues (
settingValues As Dictionary(Of String, String),
printerConnection As Connection,
printerLanguage As PrinterLanguage,
version As LinkOsInformation
) As Dictionary(Of String, String)
public:
Dictionary<String^, String^>^ SetValues(
Dictionary<String^, String^>^ settingValues,
Connection^ printerConnection,
PrinterLanguage^ printerLanguage,
LinkOsInformation^ version
)
Parameters
- settingValues DictionaryString, String
- Map from setting names to desired values.
- printerConnection Connection
- A connection to the printer.
- printerLanguage PrinterLanguage
- The printer control language for the connection.
- version LinkOsInformation
- The LinkOS version information.
Return Value
DictionaryString,
StringA map from setting name to value.
Exceptions Remarks
Use either JSON or SGD set commands to set the values on the printer, depending on the connection type and
the printer language.The default timeout values from the connection will be used when communicating with the
printer.If printerConnection is a MultichannelConnection, prefer the status channel.
See Also