예제 #1
0
 public byte[] Separator()
 {
     return(FontMode.Condensed(PrinterModeState.On)
            .AddBytes(new string('-', ColsCondensed))
            .AddBytes(FontMode.Condensed(PrinterModeState.Off))
            .AddCrLF());
 }
예제 #2
0
 public EscBema()
 {
     FontMode        = new FontMode();
     FontWidth       = new FontWidth();
     Alignment       = new Alignment();
     PaperCut        = new PaperCut();
     Drawer          = new Drawer();
     QrCode          = new QrCode();
     BarCode         = new BarCode();
     InitializePrint = new InitializePrint();
 }