printReceipt static method
Implementation
static Future printReceipt(KasseneckReceipt receipt) async {
if (_networkPrinter == null) {
throw Exception('Printer not initialized');
}
await _networkPrinter!.printTicket(await _getListIntBytesFromReceipt(receipt, paperSize));
}