Click to See Complete Forum and Search --> : parallel port


balak yap
April 19th, 1999, 03:58 AM
How can i access parallel port in VC++ and/or VB?
thanks

Hello World!!!

April 19th, 1999, 05:30 AM
All below refers to VC++
You can acess it like any other I/O device like serial port for example.
You should open port using OpenFile function giving "LPT1" as one of the arguments and then use ReadFile to read data from port.