Exemplo n.º 1
0
        public void printTest()
        {
            try
            {
                Win32Print thermalPrinter = new Win32Print();

               thermalPrinter.SetPrinterName("BIXOLON SAMSUNG RP-350");

                thermalPrinter.SetDeviceFont(9.5f, "FontA1x1", false, true);
                thermalPrinter.PrintText("IMPRIMIENDO desde IAT DteBridge");
                thermalPrinter.PrintImage("Timbre.bmp");
                thermalPrinter.EndDoc();
            }
            catch (Exception e)
            {
                System.Console.WriteLine("Error de Impresora :" + e);
            }
        }
Exemplo n.º 2
0
        public void printTest()
        {
            try
            {
                Win32Print thermalPrinter = new Win32Print();

                thermalPrinter.SetPrinterName("BIXOLON SAMSUNG RP-350");

                thermalPrinter.SetDeviceFont(9.5f, "FontA1x1", false, true);
                thermalPrinter.PrintText("IMPRIMIENDO desde IAT DteBridge");
                thermalPrinter.PrintImage("Timbre.bmp");
                thermalPrinter.EndDoc();
            }
            catch (Exception e)
            {
                System.Console.WriteLine("Error de Impresora :" + e);
            }
        }