Beispiel #1
0
 public byte[] Separator(char speratorChar = '-')
 {
     return(FontMode.Condensed(PrinterModeState.On)
            .AddBytes(new string(speratorChar, ColsCondensed))
            .AddBytes(FontMode.Condensed(PrinterModeState.Off))
            .AddCrLF());
 }
Beispiel #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();
     Image           = new Image();
     LineHeight      = new LineHeight();
     InitializePrint = new InitializePrint();
 }