How to use IPrinterScriptableSequentialStream RRS feed

  • Question

  • Now I am develoiping v4 printer driver.

    To get the staus of the printer , I am sending the PJL command  to the printer by using IPrinterScriptableSequentialStream::write function on requestStatus function in USB Bidi extension Javascript.

    I want to receive the answer of the PJL, but on "IPrinterScriptableSequentialStream::write" function, I can only get the number of bytes written.

    And after "IPrinterScriptableSequentialStream::write" function, I do the "IPrinterScriptableSequentialStream::read" function, but I get nothing (returned array's size is 0).

    What can I do to get the answer of the PJL?

    Wednesday, January 23, 2013 7:13 AM