I would like to read a return code from an parallel port.
I open a LPT port as OUTPUT
I have an EPSON printer with a drawer behind it
I send a command to the printer to know the drawer state (close or open)
When I want to read the state with an INPUT$, quickbasic tell that it can't read from an output file; but I can only open this file with OUTPUT.
How can I do to get this retun code
I open a LPT port as OUTPUT
I have an EPSON printer with a drawer behind it
I send a command to the printer to know the drawer state (close or open)
When I want to read the state with an INPUT$, quickbasic tell that it can't read from an output file; but I can only open this file with OUTPUT.
How can I do to get this retun code