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: 2.14.1989
Syntax
public static Dictionary<string, string> GetRanges(
	List<string> settings,
	Connection printerConnection,
	PrinterLanguage printerLanguage,
	LinkOsInformation version
)

Parameters

settings
Type: System.Collections.GenericListString
A list of SGD names.
printerConnection
Type: Zebra.Sdk.CommConnection
A connection to a LinkOS printer.
printerLanguage
Type: Zebra.Sdk.PrinterPrinterLanguage
the current printer control language
version
Type: Zebra.Sdk.PrinterLinkOsInformation
LinkOS version

Return Value

Type: 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