Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Programming Parallel Port

807580Dec 10 2009 — edited Dec 10 2009
Hi all!


I'm new with java and I would appreciate some help!
What I'm trying to do is to control an external device, like 8 LEDs, to turn them on and off using parallel port, data lines( pins 1....9 );

Maybe someone of you guys already had made this and you could give me some tips or some direction to follow.

What I already know is that I have to set one of the parallel bits to +5V and some of them to 0V in order to simulate that the device(printer) is ok.
I know that I have to use additional library "comm.jar" but in this package there are no useful methods in order to control data lines.


Maybe I am missing something!

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 7 2010
Added on Dec 10 2009
1 comment
84 views