ESCPOSCommands class
Constructors
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
convertImageToMonochrome(
Image image) → Uint8List - Convert image to 1-bit black and white
-
feedLines(
int lines) → List< int> -
packBitsIntoBytes(
List< int> bits) → Uint8List - Pack bits into bytes for thermal printer format
-
printCode128(
String data) → List< int> - Print Code 128 barcode
-
printCode39(
String data) → List< int> - Print Code 39 barcode
-
printColumnImage(
Uint8List imageData, int width, int height) → List< int> - Print image using ESC * command (column format)
-
printEAN13(
String data) → List< int> - Print EAN13 barcode
-
printQRCode(
String data, {QRSize size = QRSize.size4, QRCorrection correction = QRCorrection.M}) → List< int> - Print QR code
-
printRasterImage(
Uint8List imageData, int width, int height) → List< int> - Print raster image using GS v 0 command
-
setBarcodeHeight(
int height) → List< int> - Set barcode height
-
setBarcodeWidth(
int width) → List< int> - Set barcode width
-
setHRIFont(
HRIFont font) → List< int> - Set HRI font
-
setHRIPosition(
HRIPosition position) → List< int> - Set HRI (Human Readable Interpretation) position
-
setLeftMargin(
int margin) → List< int> -
setPrintWidth(
PaperSize paperSize) → List< int>
Constants
-
alignCenter
→ const List<
int> -
alignLeft
→ const List<
int> -
alignRight
→ const List<
int> -
boldOff
→ const List<
int> -
boldOn
→ const List<
int> -
cutFull
→ const List<
int> -
cutPartial
→ const List<
int> -
fontBig
→ const List<
int> -
fontCompressed
→ const List<
int> -
fontDoubleHeight
→ const List<
int> -
fontDoubleWidth
→ const List<
int> -
fontNormal
→ const List<
int> -
init
→ const List<
int> -
underlineOff
→ const List<
int> -
underlineOn
→ const List<
int>