0

私は請求書を印刷するために以下のコードを試したプロジェクトのサーマルレシートプリンター(ARP-990KE)に取り組んでいますが、コードでGetDevice()エラー値をnullにすることはできません.パラメーター名:デバイス

       PosExplorer posExplorer = new PosExplorer(this);

       DeviceInfo receiptPrinterDevice = posExplorer.GetDevice("Generic/Text Only"); 
       return (PosPrinter)posExplorer.CreateInstance(receiptPrinterDevice);  //  Here it gives me null 
4

1 に答える 1