ESCPOS class

Constructors

ESCPOS()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

align(String align) ESCPOS
Selects the alignment of the text
beepDrawer() ESCPOS
beepDrawerCut() ESCPOS
beepInvoice() ESCPOS
beepKOT() ESCPOS
cancelChineseChar() ESCPOS
cancelUserDefinedCharacters(int n) ESCPOS
changeFontToCustom(String fontCode) ESCPOS
Change font to custom font like '$'
cut() ESCPOS
cutSpace() ESCPOS
defineUserDefinedCharacters(int c1, int c2, Uint8List b) ESCPOS
drawer() ESCPOS
feedLine() ESCPOS
fontSize(ESCFontSize size) ESCPOS
Sets the character size
getInfoPrinter() ESCPOS
getLangPrinter() ESCPOS
initialText() ESCPOS
lineDot({int length = 13, String type = "-"}) ESCPOS
A line of dashes or any character
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
printBarcode(int m, int n, String content) Uint8List
printQRcode(int size, int errLevel, String code) ESCPOS
rawByte(List<int> bytes) ESCPOS
restartPrinter() ESCPOS
selectHRICharacterPosition(int n) ESCPOS
selectInternationalCharacterSets(int codePage) ESCPOS
selectOrCancelCustomChar(int n) ESCPOS
setBarcodeHeight(int n) ESCPOS
setBarcodeWidth(int n) ESCPOS
setBold(int n) ESCPOS
Sets the setBold
setCodePage(int codePage) ESCPOS
setPageSize(bool is80mm) ESCPOS
setPosition(int left, int right) ESCPOS
setThaiCharBLE() ESCPOS
setThaiCharNET() ESCPOS
text(String text, String lang) ESCPOS
text for thai and vietnamese
toBytes() List<int>
toEncode() String
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

byteMerger(Uint8List byte1, Uint8List byte2) Uint8List
strToBytes(String str) Uint8List