do not discover while printing

This commit is contained in:
EugeneTes
2026-01-27 11:55:57 +01:00
parent 43c118f527
commit bbe3a36c90
5 changed files with 42 additions and 5 deletions

View File

@@ -1,5 +1,6 @@
using Inspectron.Epson.PrintServer.Printers.Utils;
using Inspectron.Epson.PrintServer.PrintServices;
using System.Reflection;
namespace Inspectron.Epson.PrintServer.Printers;
@@ -37,6 +38,8 @@ public class TM_U220IITranslated : IPrinter
{
if (command.IsCut)
{
await _printer.FeedLinesAsync(10);
await Task.Delay(200 * 5);
await _printer.CutAsync(false);
await Task.Delay(200);
continue;