print server with new concept

This commit is contained in:
EugeneTes
2026-01-16 12:00:24 +01:00
parent 147265358f
commit 5229cac987
30 changed files with 694 additions and 217 deletions

View File

@@ -0,0 +1,12 @@
using Microsoft.Extensions.Logging;
namespace Inspectron.Epson.PrintServer.Printers;
public class HtmlPrinterFactory(string filename,int paperWidth=384, byte type=0x1, ILogger logger=null) : IPrinterFactory
{
public IEpsonPrinter CreatePrinter()
{
return new HtmlPrinter(filename,paperWidth: paperWidth, id:type);
}
}