Zebra LinkOS Multiplatform SDK for Xamarin  1.1
Link-OS Portable Class Library Plugin for Xamarin
LinkOS.Plugin.ZebraPrinterFactoryImplementation Class Reference

The OS specific implementation of an IZebraPrinterFactory More...

Inheritance diagram for LinkOS.Plugin.ZebraPrinterFactoryImplementation:
LinkOS.Plugin.Abstractions.IZebraPrinterFactory

Public Member Functions

IZebraPrinter GetInstance (IConnection connection)
 Factory method to create the correct ZebraPrinter concrete class based on the printer's control language. If the Set-Get-Do value, appl.name, starts with one of the following, the printer is determined to be a CPCL printer. Otherwise it is considered to be a ZPL printer SH, H8, C More...
 
IZebraPrinter GetInstance (PrinterLanguage language, IConnection connection)
 Factory method to create the correct ZebraPrinter concrete class based on the provided printer control language. More...
 

Detailed Description

The OS specific implementation of an IZebraPrinterFactory

Member Function Documentation

IZebraPrinter LinkOS.Plugin.ZebraPrinterFactoryImplementation.GetInstance ( IConnection  connection)
inline

Factory method to create the correct ZebraPrinter concrete class based on the printer's control language. If the Set-Get-Do value, appl.name, starts with one of the following, the printer is determined to be a CPCL printer. Otherwise it is considered to be a ZPL printer SH, H8, C

Parameters
connectionan open connection to a printer
Returns
an instance of a ZebraPrinter

Implements LinkOS.Plugin.Abstractions.IZebraPrinterFactory.

IZebraPrinter LinkOS.Plugin.ZebraPrinterFactoryImplementation.GetInstance ( PrinterLanguage  language,
IConnection  connection 
)
inline

Factory method to create the correct ZebraPrinter concrete class based on the provided printer control language.

Parameters
languagethe language of the printer instance to be created
connectionan open connection to a printer
Returns
an instance of a ZebraPrinter

Implements LinkOS.Plugin.Abstractions.IZebraPrinterFactory.


The documentation for this class was generated from the following file: