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: 2.13.898
Syntax
public static PrinterLanguage GetLanguage(
	string name
)

Parameters

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

Return Value

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