Пример #1
0
 public byte[] Separator()
 {
     return(FontMode.Condensed(PrinterModeState.On)
            .AddBytes(new string('-', ColsCondensed))
            .AddBytes(FontMode.Condensed(PrinterModeState.Off))
            .AddLF());
 }
Пример #2
0
 public EscElgin()
 {
     FontMode        = new FontMode();
     FontWidth       = new FontWidth();
     Alignment       = new Alignment();
     PaperCut        = new PaperCut();
     Drawer          = new Drawer();
     QrCode          = new QrCode();
     Image           = new Image();
     BarCode         = new BarCode();
     InitializePrint = new InitializePrint();
 }