0
我正在为热敏收据打印机(ARP-990KE)进行项目打印,但代码为GetDevice()
给我错误Value can not是null.Parameter名称:设备PosExplorer.GetDevice()在C#.net Windows窗体中返回总是为空应用
PosExplorer posExplorer = new PosExplorer(this);
DeviceInfo receiptPrinterDevice = posExplorer.GetDevice("Generic/Text Only");
return (PosPrinter)posExplorer.CreateInstance(receiptPrinterDevice); // Here it gives me null