esc_pos_utils 0.3.1
esc_pos_utils: ^0.3.1 copied to clipboard
Basic Flutter/Dart classes for ESC/POS printing. Ticket class generates ESC/POS commands that can be sent to a thermal printer.
[0.3.1] #
- Added Open cash drawer command
[0.3.0] #
- Image alignment (left, center, right). Align center by default.
- Barcode alignment (left, center, right). Align center by default.
PosTextAlign
renamed toPosAlign
[0.2.0] #
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
[0.1.0 - 0.1.2] #
- Initial release