TsplPrinter<T> class

Inheritance

Constructors

TsplPrinter(PrinterConnector<T> connector, T model, {String unit = "mm", String sizeWidth = "35", String sizeHeight = "25", String gapDistance = "5", String gapOffset = "0", String referenceX = "0", String referenceY = "0", String direction = "0", String offset = "0", String offsetDistance = "0", String shiftLeft = "0", String shiftTop = "0", String dpi = "200"})

Properties

connector ↔ PrinterConnector<T>
getter/setter pairinherited
dpi → String
final
hashCode → int
The hash code for this object.
no setterinherited
model ↔ T
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

beep() → Future<bool>
override
encodeSetIP(String ip) → List<int>
inherited
image(Uint8List image, {int threshold = 150}) → Future<bool>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pulseDrawer() → Future<bool>
override
selfTest() → Future<bool>
override
sendToConnector(List<int> fn(), {int? delayMs}) → Future<bool>
inherited
setIp(String ipAddress) → Future<bool>
override
toString() → String
A string representation of this object.
inherited

Operators

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