PosExplorer posExplorer = new PosExplorer(); DeviceCollection receiptPrinterDevices = posExplorer.GetDevices(DeviceType.PosPrinter); DeviceInfo receiptPrinterDevice = posExplorer.GetDevice(DeviceType.PosPrinter, "PosPrinter"); PosPrinter printer = (PosPrinter)posExplorer.CreateInstance(receiptPrinterDevice); printer.Open(); printer.Claim(10000); printer.DeviceEnabled = true; printer.PrintNormal(PrinterStation.Receipt, "test print 1\n");
catch
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)