Click or drag to resize

PrinterUtilGetSettingsFromPrinter Method

Retrieve all settings and their attributes from the specified printer.

Namespace:  Zebra.Sdk.Printer
Assembly:  SdkApi_Core (in SdkApi_Core.dll) Version: 2.14.1989
Syntax
public static Dictionary<string, Setting> GetSettingsFromPrinter(
	string connectionString
)

Parameters

connectionString
Type: SystemString
The connection string.

Return Value

Type: DictionaryString, Setting
A map of setting names versus Setting objects from the printer specified in the connection string.
Exceptions
ExceptionCondition
ConnectionExceptionIf there is an error connecting to the device.
ZebraPrinterLanguageUnknownExceptionIf the printer language could not be determined.
NotALinkOsPrinterExceptionThis feature is only available on Link-OS™ printers.
SettingsExceptionIf the settings could not be retrieved.
Remarks
See ConnectionBuilder for the format of connectionString.
See Also