Generator class

Constructors

Generator()

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

beep({int n = 3, PosBeepDuration duration = PosBeepDuration.beep450ms}) → List<int>
Beeps n times
cut({PosCutMode mode = PosCutMode.full}) → List<int>
Cut the paper
emptyLines(int n) → List<int>
Skips n lines
feed(int n) → List<int>
Skips n lines
imageRaster(Image image, {PosAlign align = PosAlign.center, bool highDensityHorizontal = true, bool highDensityVertical = true, PosImageFn imageFn = PosImageFn.bitImageRaster, bool needGrayscale = true}) → List<int>
Print an image using (GS v 0) obsolete command
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rawBytes(List<int> cmd, {bool isKanji = false}) → List<int>
Sens raw command(s)
reset() → List<int>
reverseFeed(int n) → List<int>
Reverse feed for n lines (if supported by the priner)
toString() → String
A string representation of this object.
inherited

Operators

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