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

A factory used to acquire an instance of a ZebraPrinter. More...

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

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

A factory used to acquire an instance of a ZebraPrinter.

Member Function Documentation

IZebraPrinter LinkOS.Plugin.Abstractions.IZebraPrinterFactory.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

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

Implemented in LinkOS.Plugin.ZebraPrinterFactoryImplementation.

IZebraPrinter LinkOS.Plugin.Abstractions.IZebraPrinterFactory.GetInstance ( PrinterLanguage  language,
IConnection  connection 
)

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

Implemented in LinkOS.Plugin.ZebraPrinterFactoryImplementation.


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