print abstract method

Future<void> print({
  1. String? deviceId,
  2. PrinterConnectionType? connectionType,
  3. required PrintThermalModel model,
  4. bool openDrawer,
})

In hóa đơn. openDrawer = true thì mở két TRƯỚC khi gửi bill (thanh toán tiền mặt). Xem PrinterLabel.printESC để biết lý do mở trước thay vì sau.

Implementation

Future<void> print({
  String? deviceId,
  PrinterConnectionType? connectionType,
  required PrintThermalModel model,
  bool openDrawer,
});