LabelCommands class

Printer maintenance commands (TSPL).

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

tsplCalibrate({LabelMedia media = LabelMedia.gap}) → List<int>
Measures the gap / label length with the sensor (feeds a few labels). Run after loading a new roll.
tsplSelfTest() → List<int>
Prints the printer's own configuration page.
tsplTextTest({double widthMm = 50, double heightMm = 30, double gapMm = 2, LabelMedia media = LabelMedia.gap, PrinterDpi dpi = PrinterDpi.dpi203}) → List<int>
Text and a box with printer fonts only -- no bitmap. If this prints but image labels don't, the printer is fine and the image job is the issue; if this doesn't print either, check the language / media / size.