Tech Support > Microsoft Windows > Drivers > ReadFile problem
ReadFile problem
Posted by Harry on May 26th, 2004


I'm writing a printer driver and I need to ask the printer for its status. I sent a command to the printer through WriteFile and it worked fine (using serial communication). When I try to read from the printer with ReadFile it crashes. I have a printf after the ReadFile command and it never displays it. Any suggestions

Harry