This commit is contained in:
EugeneTes
2026-01-28 11:15:33 +01:00
parent bf34fdfaa0
commit ff52db279f
5 changed files with 10 additions and 21 deletions

View File

@@ -27,7 +27,7 @@ public class EpsonPrintService: IPrintService
{
try
{
var configuration = _printerConfigurationSource.GetConfiguration(printerIp);
await using var epsonPrinter = _printerFactory.CreatePrinter();
string address = printerIp;
int port = 9100;
@@ -80,7 +80,7 @@ public class EpsonPrintService: IPrintService
await printerAdapter.PrintImageAsync(cachedLogoPath);
}
await printerAdapter.SetFontSizeAsync(configuration.FontSize);
// Convert receipt content to print commands using the factory
List<PrintCommand> commands;