- Print QR Codes using native function
- Added
Ticket.setGlobalFont
method Ticket.codeTable
renamed toTicket.printCodeTable
- Added
maxCharsPerLine
custom config + default values depending on current font and ticket size - Code refactoring
- Added hr method
- Updated commands (using hex codes)
- setStyles bug fix
- Slow printing issue on some printer models fixed
PosColumn
can contain encoded text (textEncoded
field)- Bug fix: Columns with
PosTextSize
>size1
- Added Barcode Code128
- Added new code pages
imageRaster
bug fixed- Ticket bytecode optimization: do not generate align left command (it's a default value)
- Added new image print function:
GS ( L
- Added Open cash drawer command
- Image alignment (left, center, right). Align center by default.
- Barcode alignment (left, center, right). Align center by default.
PosTextAlign
renamed toPosAlign
Ticket._text
function takes an Uint8List of bytes instead of a StringTicket._text
function refactored: removed styling commands when it's unnecessary which makes ticket's final byte code much shorterPosCodeTable
: private constructor replaced by public one to allow passing custom code table codePosCodeTable
: added new predefined code tables- Added
Ticket.textEncoded
function taking Uint8List textBytes (encoded text) to support different languages
- Initial release