printEscPos static method

Future<String?> printEscPos(
  1. List<int> data
)

Sends raw ESC/POS commands to the printer.

data: The raw ESC/POS command data as a list of integers.

Returns a String indicating the result of the operation, or null.

Implementation

static Future<String?> printEscPos(List<int> data) async {
  return await SunmiPrinterPlusPlatform.instance.printEscPos(data);
}