new receipt formats
This commit is contained in:
@@ -35,6 +35,12 @@ public class TM_U220IITranslated : IPrinter
|
||||
{
|
||||
foreach (var command in commands)
|
||||
{
|
||||
if (command.IsCut)
|
||||
{
|
||||
await _printer.CutAsync(false);
|
||||
await Task.Delay(200);
|
||||
continue;
|
||||
}
|
||||
await _printer.SetBiggerFontTM220(command.IsBig, command.IsTall | command.IsBig);
|
||||
await Task.Delay(200);
|
||||
await _printer.SetRedColor(command.IsRed);
|
||||
|
||||
Reference in New Issue
Block a user