none
Issue with requesting data via BiDiInterface with wi-fi printer RRS feed

  • Question

  • I use BiDi communication interface to communicate between application and printer.

    For doing it I implement the c++ code based on MSDN example.

    Also on driver level I have function which returns some needed data:

    DWORD WINAPI SendRecvBidiDataFromPort(  HANDLE hPort,  DWORD dwAccessBit,  LPCWSTR pAction,  PBIDI_REQUEST_CONTAINER pReqData,  PBIDI_RESPONSE_CONTAINER *ppResData){...}

    The problem is it works fine when printer is connected via USB and it just crashes after SendRecv() method call if the printer is connected via wi-fi. I put some debug output in the driver code and it looks like it even does not enter this function.

    Any ideas? Thanks in advance!

    Friday, March 21, 2014 3:43 PM

Answers

  • I'd recommend opening a case with Microsoft Support on this. It's possible this is an issue with your port monitor/language monitor, but I can't say for sure with the information you've included. They can set up a repro and investigate further.

    Thanks!

    Justin

    Friday, March 21, 2014 10:14 PM