Matias,
> I'm trying to print to a HP DraftPro plotter. The plotter is hooked up to
> /dev/ttyS0. When I try to send something to the plotter (cat file >
> /dev/ttyS0 ) it says 'Comunication error' . The plotter serial parameters
> are 19200,8,N,1 CRT/RTS. I have allready used stty to set the avobe
> parameters to /dev/ttyS0. Does anyone have an idea about this? By the way
> should I use /dev/ttyS0 or /dev/cua0 ?
Most plotters are very slow compared to the computers they are tied
to. Consequently, most plotters require software flow control. Cat does
not provide software flow control. /dev/ttyS0 does not nominally provide
software flow control and I don't know how to set it with stty, though I
am confident that you can set it.
Over a year ago, I used chat(1) to talk interactively to an
eprom burner. I used it, largely because the handshake configuration
(flow control) was handled easily by chat. After playing around, I was
also able using two simultaneous chat processes to connect the console
input and output to the serial port (and eprom burner). It seemed that
there should be a simple way to use a single chat process, but I was unable
to get bilateral communications. (Anyone have any hints?)
Hopefully helpful,
--
Robert Meier
FANUC Robotics North America, Inc. [EMAIL PROTECTED]
Voice: 1-248-377-7469 Fax: 1-248-377-7363