tsplPrintText abstract method
Future<void>
tsplPrintText(
- String text, {
- PTextAlign align = PTextAlign.left,
- PTextAttribute attribute = PTextAttribute.normal,
- PTextW width = PTextW.w1,
- PTextH height = PTextH.h1,
Prints text on TSPL printers with optional formatting.
text: The text to print.align: Text alignment.attribute: Text attribute (bold, underline).width: Width multiplier.height: Height multiplier.
Implementation
Future<void> tsplPrintText(
String text, {
PTextAlign align = PTextAlign.left,
PTextAttribute attribute = PTextAttribute.normal,
PTextW width = PTextW.w1,
PTextH height = PTextH.h1,
});