templates support
This commit is contained in:
16
Inspectron.Epson.Templates/Configuration/PrinterProfile.cs
Normal file
16
Inspectron.Epson.Templates/Configuration/PrinterProfile.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
namespace Inspectron.Epson.Templates.Configuration;
|
||||
|
||||
public record PrinterProfile(
|
||||
string Id,
|
||||
string Name,
|
||||
int LineWidth,
|
||||
int BigLineWidth,
|
||||
bool SupportsRed)
|
||||
{
|
||||
public static PrinterProfile Default { get; } = new(
|
||||
Id: "default",
|
||||
Name: "Default Printer",
|
||||
LineWidth: 48,
|
||||
BigLineWidth: 24,
|
||||
SupportsRed: false);
|
||||
}
|
||||
Reference in New Issue
Block a user