public byte[] Separator(char speratorChar = '-') { return(FontMode.Condensed(PrinterModeState.On) .AddBytes(new string(speratorChar, ColsCondensed)) .AddBytes(FontMode.Condensed(PrinterModeState.Off)) .AddCrLF()); }
public EscPos() { FontMode = new FontMode(); FontWidth = new FontWidth(); Alignment = new Alignment(); PaperCut = new PaperCut(); Drawer = new Drawer(); QrCode = new QrCode(); BarCode = new BarCode(); Image = new Image(); LineHeight = new LineHeight(); InitializePrint = new InitializePrint(); }