Name: nsteinme Date: February 13, 2008 at 22:28:10 Pacific Subject: Can I control the parallel port? OS: WinXP CPU/Ram: 1.6ghz/512mb Model/Manufacturer: IBM thinkpad
Comment:
Hi, I was wondering if there is a way to control the individual pins of the parallel port precisely. I simply want to read each pin (i.e. see if it is in up or down state) and also control them (move them to up or down state). It would be best if I could do this in java or c++. Thanks!
I checked google and found a parallel port library for java before I posted here. The difference is that the library I found and everything else I can seem to find suggests that you can write one byte to the eight data pins and read one byte from the eight "status" pins, but I want to know if: 1) You can access the other eight pins (25 total - 1 gnd - 8 data - 8 status = 8 left) 2) You can read and write on any of them.
Basically I was hoping to find a library with two commands: bool checkPin(int pinNum); void writePin(int pinNum, bool newState);
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this site. Computing.Net and Computing.Net, LLC hereby disclaim all responsibility and liability for the content of Computing.Net and its accuracy.
PLEASE READ THE FULL DISCLAIMER AND LEGAL TERMS BY CLICKING HERE