Reading and writing to parallel port is done by using VISA. Call VISA Open to open the resource. The you can call VISA Write, VISA Read to write and read. At the end call VISA Close. The resource name can be determined from MAX. Go to Devices & Ports >> Ports then you will see a list of the ports in your PC. Mine has one parallel port named "ASRL10::INSTR" and has the alias LPT1.
Waldemar
Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions