Click or drag to resize

PrinterLanguageGetLanguage Method

Converts the string name to the appropriate enum value.

Namespace: Zebra.Sdk.Printer
Assembly: SdkApi.Core (in SdkApi.Core.dll) Version: 3.0.3271
Syntax
public static PrinterLanguage GetLanguage(
	string name
)

Parameters

name  String
The printer control language name (e.g. "zpl", "cpcl", or "line_print")

Return Value

PrinterLanguage
The printer language
Exceptions
ExceptionCondition
ZebraPrinterLanguageUnknownExceptionIf the printer language cannot be determined.
Remarks
The name parameter accepts the value returned from the printer's 'device.langauges' SGD.
See Also