Printer class
*Printer
This class willl implement everything that we can you with the printer
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
libVersion
→ Future<
String> -
*libVersion
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
beep(
int times, int st, int ft) → Future< int> - *beep
-
connect(
{required ElginPrinter driver}) → Future< int?> - *connect
-
customCashier(
int pin, int it, int dp) → Future< int> - *customCashier
-
cut(
{int lines = 0}) → Future< int> - *cut
-
disconnect(
) → Future< int?> - *disconnect
-
elginCashier(
) → Future< int> - *elginCashier
-
feed(
int lines) → Future< int> - *feed
-
line(
{String ch = '-', int len = 31}) → Future< void> - *line
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
printBarCode(
String text, {EliginBarcodeType barcodeType = EliginBarcodeType.JAN8, ElginAlign align = ElginAlign.RIGHT, int height = 50, int width = 6, ElginBarcodeTextPosition textPosition = ElginBarcodeTextPosition.NO_TEXT}) → Future< int> - *printBarCode
-
printImage(
File image, bool isBase64) → Future< int> - *printImage
-
printNFCE(
String xml, String csc, int cscId, {int param = 0}) → Future< int?> - *printXMLSAT
-
printQRCode(
String text, {ElginQrcodeSize size = ElginQrcodeSize.SIZE4, ElginAlign align = ElginAlign.CENTER, ElginQrcodeCorrection correction = ElginQrcodeCorrection.LEVEL_M}) → Future< int> - *printQRCode
-
printRaw(
List< int> rawList) → Future<int> - *printRaw
-
printSAT(
String xml, {int param = 0}) → Future< int?> - *printXMLSAT
-
printString(
String text, {ElginAlign align = ElginAlign.LEFT, bool isBold = false, bool isUnderline = false, ElginFont font = ElginFont.FONTA, ElginSize fontSize = ElginSize.MD}) → Future< int> - *printString
-
printTEF(
String cupomTEF) → Future< int?> - *printTEF
-
reset(
) → Future< int> - *reset
-
statusCashier(
) → Future< int> - *statusCashier
-
statusEjetor(
) → Future< int> - *statusEjetor
-
statusSensor(
) → Future< int> - *statusSensor
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- platform ↔ MethodChannel?
-
getter/setter pair
Static Methods
-
instance(
MethodChannel methodChannel) → Printer - *instance