Click or drag to resize

SettingsRangesGetRanges Method

Use the LinkOS 3.2 JSON syntax to get the ranges for a list of SDGs, without the need to use an allconfig.

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

Parameters

settings  ListString
A list of SGD names.
printerConnection  Connection
A connection to a LinkOS printer.
printerLanguage  PrinterLanguage
the current printer control language
version  LinkOsInformation
LinkOS version

Return Value

DictionaryString, String
A map from setting name to a string representing the range.
Exceptions
ExceptionCondition
InvalidOperationExceptionIf the printer is not LinkOS 3.2 or higher.
ConnectionExceptionIf the connection fails.
IOExceptionIf there is an error parsing the JSON response from the printer.
See Also