I'm writing a printer driver. I modified the pjlmon.c from the WINDDK. When the printer is not printing a job, I want to send a command to the printer via Serial communication and be able to read back the answer (so I could get the printer status). I have no problem sending the command, I used the RawDataToPrinter() function that I found as an example in the MSDN library. But I can't find a way to read from the printer. I always get an invalid handle. I tried with ReadCommand() and ReadPrinter(). I understand that the com port should always be open. But how can I get the right handle to read from it

Mike