Initial commit

Initial commit til Git.
V2 er deployed
This commit is contained in:
2026-06-13 17:31:50 +02:00
parent 9fcd2b145e
commit 41e23b6184
375 changed files with 15956 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
namespace EpsonReceiptPrinter;
public sealed class Receipt
{
public string? Header { get; set; }
public string? SubHeader { get; set; }
public List<ReceiptLine> Lines { get; } = new();
public string? Footer { get; set; }
public bool CutPaper { get; set; } = true;
public int PaperWidthCharacters { get; set; } = 42;
}
public sealed class ReceiptLine
{
public ReceiptLine()
{
}
public ReceiptLine(string left, string? right = null, bool emphasize = false, TextSize textSize = TextSize.Normal)
{
Left = left;
Right = right;
Emphasize = emphasize;
TextSize = textSize;
}
public string Left { get; set; } = string.Empty;
public string? Right { get; set; }
public bool Emphasize { get; set; }
public TextSize TextSize { get; set; } = TextSize.Normal;
}