initPrinter static method

Future<bool?> initPrinter()

initPrinter

This method will reset the printer styles, font and everything that can change your text, but the method will NOT erase the buffer inside.

Implementation

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