Files
Print_server/Inspectron.Epson/PrintServer/Printers/Utils/PrintCommand.cs
EugeneTes 5ee95c8109 1.0.12
2026-04-03 08:38:32 +02:00

23 lines
700 B
C#

namespace Inspectron.Epson.PrintServer.Printers.Utils;
public class PrintCommand
{
public string Text { get; set; }
public bool IsBig { get; set; }
public bool IsTall { get; set; }
public bool IsBold { get; set; }
public bool IsRed { get; set; }
public int? SetLineSpacing { get; set; }=null;
public bool IsCut { get; set; }
public PrintCommand(string text, bool isBig = false, bool isBold = false)
{
Text = text;
IsBig = isBig;
IsBold = isBold;
}
public override string ToString()
{
return $"Text: {Text}, IsBig: {IsBig}, IsBold: {IsBold}, IsRed: {IsRed}, SetLineSpacing: {SetLineSpacing}, IsCut: {IsCut}";
}
}