示例#1
0
        public void Cut()
        {
            RawPrinterHelper.SendStringToPrinter(this.printerName, PrintParams.ClearCutterHead);

            Byte[] sequence = new Byte[3];
            sequence[0] = 0x1B;
            sequence[1] = 0x64;
            sequence[2] = 0x30;
            RawPrinterHelper.SendByteArrayToPrinter(this.printerName, sequence);
        }
示例#2
0
 public void OpenDrawer()
 {
     Byte[] sequence = new Byte[1];
     sequence[0] = 0x1C;
     RawPrinterHelper.SendByteArrayToPrinter(this.printerName, sequence);
 }