[Rxtx] [PARALLELPORT] read parallel port status
ajmas at sympatico.ca
Mon Sep 18 10:51:04 MDT 2006
I have never had to deal with parallel ports myself, though there
are a couple of examples here:
If you look at the first example, which is for a serial port, as
a basis, then at the line where the the following test is done:
commPort instanceof SerialPort
modify it to test to see if commPort is an instance of ParallelPort
and then cast it to ParallelPort. The API specification is here:
Hope this helps.
yves pielusenet wrote:
> I was using the Parport library to read parallel port status.
> I did something like parport.read() which gives me a byte.
> I use this to get a printer status.
> I don't want to use parport anymore since it doesn't work with XP
> without the Userport programme.
> How can I do this with rxtx ? I want to read all parallel status pin
> from my programme.
> I'm searching but I can't find any exemple :(
> thanks in advance :)
> yves piel
> Rxtx mailing list
> Rxtx at qbang.org
More information about the Rxtx