posPrintText method
Future<void>
posPrintText(
- String text, {
- PTextAlign align = PTextAlign.left,
- PTextAttribute attribute = PTextAttribute.normal,
- PTextW width = PTextW.w1,
- PTextH height = PTextH.h1,
Prints a text string to the POS printer with optional formatting options.
align: Text alignment (left, center, right).attribute: Text style attributes (bold, underline, etc).width: Width multiplier for the text.height: Height multiplier for the text.
Implementation
Future<void> posPrintText(
String text, {
PTextAlign align = PTextAlign.left,
PTextAttribute attribute = PTextAttribute.normal,
PTextW width = PTextW.w1,
PTextH height = PTextH.h1,
}) {
throw UnimplementedError('posPrintText() has not been implemented.');
}