new receipt formats

This commit is contained in:
EugeneTes
2026-01-26 14:29:37 +01:00
parent 53cf40c5e3
commit 1125222cbe
13 changed files with 132 additions and 68 deletions

View File

@@ -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);