public void Print(IZebraCommand command) { Print(command.ToZebraInstruction()); }
private void Print(IZebraCommand command) { string zebraInstructions = command.ToZebraInstruction(); var PrinterName = System.Configuration.ConfigurationManager.AppSettings["PrinterName"]; if (string.IsNullOrEmpty(PrinterName)) PrinterName = DefaultPrinterName(); new ZebraPrinter(PrinterName).Print(zebraInstructions); }