ZebraPrinterFactoryGetInstance(PrinterLanguage, Connection) Method
|
Factory method to create the correct
ZebraPrinter concrete class based on the printer's control language.
Namespace: Zebra.Sdk.PrinterAssembly: SdkApi.Core (in SdkApi.Core.dll) Version: 3.0.3271
Syntax public static ZebraPrinter GetInstance(
PrinterLanguage language,
Connection connection
)
Public Shared Function GetInstance (
language As PrinterLanguage,
connection As Connection
) As ZebraPrinter
public:
static ZebraPrinter^ GetInstance(
PrinterLanguage^ language,
Connection^ connection
)
Parameters
- language PrinterLanguage
- The language of the printer instance to be created
- connection Connection
- An open connection to a printer
Return Value
ZebraPrinterAn instance of a
ZebraPrinterExceptions See Also