Ejemplo n.º 1
0
 public byte[] Separator()
 {
     return(FontMode.Condensed(PrinterModeState.On)
            .AddBytes(new string('-', ColsCondensed))
            .AddBytes(FontMode.Condensed(PrinterModeState.Off))
            .AddLF());
 }
Ejemplo n.º 2
0
 public EscPos()
 {
     FontMode        = new FontMode();
     FontWidth       = new FontWidth();
     Alignment       = new Alignment();
     PaperCut        = new PaperCut();
     Drawer          = new Drawer();
     QrCode          = new QrCode();
     BarCode         = new BarCode();
     InitializePrint = new InitializePrint();
 }