kitchen receipt + html printer

This commit is contained in:
EugeneTes
2026-01-14 11:47:43 +01:00
parent 011978136d
commit 147265358f
16 changed files with 1346 additions and 178 deletions

View File

@@ -1,6 +1,6 @@
namespace Inspectron.Epson.PrintServer.Printers.Utils.FinalRecipe;
public class Receipt
public class FinalReceipt
{
public string CompanyName { get; set; }
public string Address1 { get; set; }
@@ -17,7 +17,7 @@ public class Receipt
public string PaymentMethod { get; set; }
public decimal PaymentAmount { get; set; }
public List<TaxInfo> TaxBreakdown { get; set; } = new List<TaxInfo>();
public string ServerName { get; set; }
public string WaiterName { get; set; }
public string Terminal { get; set; }
public string TableNumber { get; set; }
public string VatNumber { get; set; }
@@ -43,18 +43,4 @@ public class TaxInfo
public decimal Net { get; set; }
public decimal TaxAmount { get; set; }
public string Currency { get; set; }
}
public class PrintCommand
{
public string Text { get; set; }
public bool IsBig { get; set; }
public bool IsBold { get; set; }
public PrintCommand(string text, bool isBig = false, bool isBold = false)
{
Text = text;
IsBig = isBig;
IsBold = isBold;
}
}