esc_pos_utils library

esc_pos_dart utils library.

Original package: esc_pos_utils Created by Andrey U.

Copyright (c) 2019-2020. All rights reserved. See LICENSE for distribution and usage details.

Classes

Barcode
BarcodeFont
BarcodeText
BarcodeType
CapabilityProfile
CodePage
Command
Base class for representing a print command.
CommandEscPos
CommandEscPosAlign
CommandEscPosBarcode
GS k: print a barcode.
CommandEscPosBarcodeSetting
GS H/GS f/GS h/GS w: barcode settings (hri_position, hri_font, height, width).
CommandEscPosBeep
ESC B n t: beeper.
CommandEscPosBitImage
ESC *: a column format bit image stripe (8 or 24 dots high).
CommandEscPosBold
CommandEscPosCut
CommandEscPosDoubleStrike
ESC G n: double-strike mode (printed as bold).
CommandEscPosDrawer
ESC p m t1 t2 / DLE DC4 1 m t: open the cash drawer.
CommandEscPosEndJob
CommandEscPosFeed
CommandEscPosFeedDots
ESC J n: print and feed paper n motion units (dots).
CommandEscPosFont
CommandEscPosFontSize
CommandEscPosGeneric
CommandEscPosIntlCharset
ESC R n: international character set.
CommandEscPosKanji
FS & / FS .: Kanji character mode.
CommandEscPosPrintMode
ESC ! n: select print modes.
CommandEscPosQRCode
GS ( k: print a QR Code (with the stored data and settings).
CommandEscPosRasterImage
GS v 0 / GS ( L / GS 8 L: a raster bit image.
CommandEscPosReset
CommandEscPosReverse
GS B n: white/black reverse print mode.
CommandEscPosStatusRequest
A status request that expects a reply from the printer:
CommandEscPosTable
CommandEscPosText
CommandEscPosTruncated
A command truncated at the end of the data (DecoderEscPos.lenient mode).
CommandEscPosTurn90
ESC V n: 90° clockwise rotation mode.
CommandEscPosUnderline
ESC - n: underline mode (0 off, 1 1-dot, 2 2-dots).
CommandEscPosUnknown
An unknown or invalid command (DecoderEscPos.lenient mode).
CommandEscPosUpsideDown
ESC { n: upside-down print mode.
Decoder<C extends Command>
Base class for decoding print commands from received data.
DecoderEscPos
Decodes ESC/POS commands from received print data, extracting text, formatting, and control instructions.
DecoderWarning
A warning produced while decoding (see DecoderEscPos.warnings).
EscPosToPrinterDocument
Converts decoded ESC/POS commands (DecoderEscPos) into PrinterDocuments.
Generator
Base class for generating print commands.
GeneratorEscPos
A generator for ESC/POS commands, used to format and send print instructions to compatible thermal printers.
PosColumn
Column contains text, styles and width (an integer in 1..12 range) containsChinese not used if the text passed as textEncoded
PosStyles
Text styles
QRCode
QRCorrection
QR Correction level
QRSize

Enums

CharCodeTableEscPos
ESC/POS character code tables.
EscPosTextDecoding
How DecoderEscPos decodes text bytes into a String.
PaperSize
PosAlign
PosBeepDuration
PosCutMode
PosDrawer
PosFontType
PosImageFn
Choose image printing function bitImageRaster: GS v 0 (obsolete) graphics: GS ( L
PosTextSize