Exemplo n.º 1
0
 public void Print(IZebraCommand command)
 {
     Print(command.ToZebraInstruction());
 }
Exemplo n.º 2
0
        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);
        }