Click or drag to resize

SettingsValuesGetValues Method

Get the values for a list of settings from a printer.

Namespace: Zebra.Sdk.Settings
Assembly: SdkApi.Core (in SdkApi.Core.dll) Version: 3.0.3271
Syntax
public Dictionary<string, string> GetValues(
	List<string> settingNames,
	Connection printerConnection,
	PrinterLanguage printerLanguage,
	LinkOsInformation version
)

Parameters

settingNames  ListString
The settings to be retrieved.
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, String
A map from setting name to value.
Exceptions
ExceptionCondition
ConnectionExceptionIf it was not possible to communicate with the printer.
ZebraIllegalArgumentExceptionIf it was not possible to parse the response from the printer.
Remarks
Use either JSON or SGD get commands to request the values from 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