예제 #1
0
 public byte[] Separator()
 {
     return(FontMode.Condensed(PrinterModeState.On)
            .AddBytes(new string('-', ColsCondensed))
            .AddBytes(FontMode.Condensed(PrinterModeState.Off))
            .AddLF());
 }
예제 #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();
 }