printReceiptMypos static method
Implementation
static Future<PrintResponse> printReceiptMypos(KasseneckReceipt receipt) async {
MyPosPaper paper = await getMyPosPaperFromReceipt(receipt);
if (kDebugMode) print('Printing receipt with MyPos: ${paper.commands.length} lines');
return await MyPos.printPaper(paper);
}