UrovoPrintJob class
Builder for composing a Urovo printer job payload.
Constructors
- UrovoPrintJob()
- Creates an empty print job builder.
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
-
barcode(
String value, {int width = 300, int height = 100, UrovoBarcodeType type = UrovoBarcodeType.code128, UrovoAlign align = UrovoAlign.center}) → UrovoPrintJob - Appends a barcode command.
-
blackLine(
) → UrovoPrintJob - Appends a black separator line command.
-
feedLine(
int lines) → UrovoPrintJob - Feeds paper by a number of text lines.
-
imageBytes(
Uint8List jpegOrPng, {int width = 200, int height = 80, UrovoAlign align = UrovoAlign.center}) → UrovoPrintJob - Appends an image command using PNG/JPEG bytes.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
paperFeed(
int dots) → UrovoPrintJob - Feeds paper by absolute dot height.
-
qr(
String value, {int expectedHeight = 120, UrovoAlign align = UrovoAlign.center}) → UrovoPrintJob - Appends a QR code command.
-
setGray(
int level) → UrovoPrintJob -
Sets printer gray level in the supported range
0..10. -
text(
String text, {UrovoTextStyle? style}) → UrovoPrintJob - Appends a text command.
-
textLeftCenterRight(
String left, String center, String right, {UrovoTextStyle? style}) → UrovoPrintJob - Appends a three-column text command.
-
textLeftRight(
String left, String right, {UrovoTextStyle? style}) → UrovoPrintJob - Appends a two-column text command.
-
toMap(
) → Map< String, Object> - Serializes job data for platform-channel invocation.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited