printLayoutBluetooth static method
Fertiges Layout auf dem verbundenen Bluetooth-Drucker (gleicher Sende-Pfad wie printReceiptBluetooth).
Implementation
static Future printLayoutBluetooth(ReceiptLayout layout, {bool brandMark = false}) async {
final PrintPaper paper = await getPaperFromLayout(layout, _breiteVon(layout), brandMark: brandMark);
return _sendToBluetoothPrinter(<int>[for (final p in paper.bytes) ...p]);
}