On Sun, 13 Sep 1998 17:46:39 -0300, Fernando Soares Barrocal wrote: > >Brazilian Hello ! > >I have a CodeBar Reader attached at /dev/cua1 and I can read from it from >some applications, opening the "/dev/cua1" file and reading from it ! > >There is any way to do this with java ? Well, if you do not need to do anything other than opening and read/write operations, just open that as a file in Java. Then do the byte I/O or stream I/O to/from it. However, controlling the data rate and other serial port parameters will need to be done with either an external program/native methods or the new Java Serial (RXTX) extensions. (I have not played with those as they came out well after I had needed to do serial port stuff...) What I did was to use stty and then to run the Java code with the /dev/cua1 name for the file. (This is not very cross platform other than within Unix worlds and even then stty has some strange behaviors) Michael Sinz -- Director of Research & Development, NextBus Inc. mailto:[EMAIL PROTECTED] --------- http://www.nextbus.com My place on the web ---> http://www.users.fast.net/~michael_sinz