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: 3.0.3271
Syntax
public static Dictionary<string, Setting> GetSettingsFromPrinter(
	string connectionString
)

Parameters

connectionString  String
The connection string.

Return Value

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