printerCatalogSettings function
Was ein Eintrag beim Einrichten vorschlaegt; drawerKick wird zu
drawerEnabled. Zwilling von printerCatalogSettings.
Implementation
PrinterCatalogSettings printerCatalogSettings(PrinterCatalogEntry entry) {
final v = entry.values;
return PrinterCatalogSettings(
device: PrinterCatalogDeviceSettings(
paperSize: v.paperSize,
codePage: v.codePage,
cut: v.cut,
qrMode: v.qrMode,
drawerEnabled: v.drawerKick,
),
paperSizeNeedsCheck: entry.paperSizes.any((p) => p != v.paperSize),
);
}