initPrinter static method

Future<bool?> initPrinter()

Printer initialization

NOTE: reset the logic programs (type setting, bold, etc.) of a printer but not to clear the data in the buffer.

Therefore, uncompleted print jobs will be continued after resetting.

Implementation

static Future<bool?> initPrinter() async {
  final bool? status = await _channel.invokeMethod('INIT_PRINTER');
  return status;
}