Printer class abstract

Implementers

Constructors

Printer(String id)

Properties

generator ↔ Generator
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String
final
isConnected Future<bool>
no setter
paperSize ↔ PaperSize
latefinal
profile ↔ CapabilityProfile
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

beep({int n = 3, PosBeepDuration duration = PosBeepDuration.beep450ms}) Future<void>
connect() Future<bool>
disconnect() Future<void>
feed(int n) → void
initialize(Printer printer, PaperSize paperSize) Future<Printer>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
print({required List<int> ticket, bool isKanji = false}) Future<void>
printBytes(List<int> ticket) Future<void>
printImage({required Image image, bool isKanji = false}) Future<void>
printText({required String text, PosStyles style = const PosStyles()}) Future<void>
qrcode(String text, {PosAlign align = PosAlign.center, QRSize size = QRSize.size4, QRCorrection cor = QRCorrection.L}) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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