Hi i want to use lpt port for interfacing the switch (for example ,signal the 5v to some pin) listening to some pin and notify my app ?
i use rxtx-2.1-7-bins-r2 in windows.
i used the isPrinterBusy() and isPrinterError() methods and signal the 5v to corresponding pins, but i get true at all ! :|
regards

1

There are 1 answers

0
Hamedz On BEST ANSWER

the problem is solved, with some hardware things,i tied the parallel port status lines 10 and 11 to Ground and lines 12, 13 and 15 5V, after that used the same methods( isPrinterBusy() and isPrinterError()) and got false when i switched the 5v to that pins! for more information about pins25 Pin LPT