openCashDrawer static method
Implementation
static Future openCashDrawer() async {
final generator = EscPosGenerator(paperSize.paperSize, CapabilityProfile());
final drawerBytes = generator.drawer();
await _sendToSocketPrinter(drawerBytes);
}
static Future openCashDrawer() async {
final generator = EscPosGenerator(paperSize.paperSize, CapabilityProfile());
final drawerBytes = generator.drawer();
await _sendToSocketPrinter(drawerBytes);
}