The goal is to set up a link from my linux box to a serial PS printer
(Mac LaserWriter II WRT). I have no trouble with /etc/printcap and the
input filter, and it's working currently. However, it's using 9600 baud
and XON/XOFF handshake. I'd like to change these to 57600, DSR/DTR or
ETX/ACK handshake (as I recall, XON/XOFF is good for baud <= 9600 only),
8 bit, none-parity, 1 stop bit. I don't have problem in configuring the
printer part. However, after I use
'setserial /dev/cua1 Baud_base 115200 spd_hi', the result of
'stty -a < /dev/cua1' still gives me the following result:
speed 9600 baud; rows 24; columns 80; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>;
eol2 = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W;
lnext = ^V; flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 hupcl -cstopb cread clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff
-iuclc -ixany -imaxbel
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl e*
THE SPEED IS STILL 9600. One more thing is that I don't know how to control
handshake, data-length, parity, and stop-bit. Can someone tell me what to
your response.
James