Looks like a lot of ppl are devolping com or parallel port projects.
First you need to download the commAPI from java.sun.com Follow the
installation instructions carefully. It took me 3 tries to get it
working. Then look at their examples and use what you need.