public void Execute(PosPrinter printer, PrinterStation station) { if (!printer.CapRecBitmap && station == PrinterStation.Receipt || !printer.CapSlpBitmap && station == PrinterStation.Slip) { return; } printer.PrintNormal(station, EscapeSequence.PrintBitmap(BitmapNumber)); }
public void Execute(PosPrinter printer) { printer.Print(EscapeSequence.PrintBitmap(BitmapNumber)); }