print server with new concept
This commit is contained in:
12
Inspectron.Epson/PrintServer/Printers/HtmlPrinterFactory.cs
Normal file
12
Inspectron.Epson/PrintServer/Printers/HtmlPrinterFactory.cs
Normal 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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user