beautypg.com

Comtrol SCO OpenServer User Manual

Page 36

background image

36

Troubleshooting

SCO OpenServer

-parenb -parodd cs8 -cstopb hupcl cread -clocal -loblk -ctsflow -rtsflow

-ignbrk brkint ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -iuclc

-ixon -ixany -ixoff isig icanon -xcase echo -echoe echok -echonl -noflsh

opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel

cr0 nl0 tab3 bs0 vt0 ff0

Note: These lines are shown for example only. The parameters for your

system will probably be different. A minus sign (-) in front of a
parameter indicates that it is
not configured, while a blank
space means that it
is configured.

Software (XON/XOFF) Flow Control

Pay particular attention to the minus signs (-) in front of ixon, ixany,
and ixoff. A minus sign means that the parameter is turned off, which
in turn may mean that flow control is not being handled correctly. To
force XON/XOFF flow control, enter these commands:

cat XX >/dev/null &

stty 38400 ixon -ixany ixoff -rtsflow -ctsflow XX

Where XX is the port to which the printer is attached.

This example assumes the printer is running XON/XOFF handshaking
and 38400 baud. The cat command opens a background process on the
printer port and the stty command sets the baud rate and handshaking.

If this resolves the problem, you can make the corrections permanent
by adding the cat and stty commands shown above to the end of the
userdef file in the /etc/rc.d/8 directory, then rebooting the system.

Hardware (CTS/RTS) Flow Control

Pay particular attention to the minus signs (-) in front of ctsflow and
rtsflow. A minus sign means that the parameter is turned off, which in
turn may mean that flow control is not being handled correctly. To
force CTS/RTS flow control, enter these commands:

cat XX >/dev/null &

stty 38400 -ixon -ixany ixflow ctsflow rtsflow XX

Where XX is the port to which the printer is attached.

This example assumes the printer is running hardware handshaking
and 38400 baud. The cat command opens a background process on the
printer port and the stty command sets the baud rate and handshaking.

If this resolves the problem, you can make the corrections permanent
by adding the cat and stty commands shown above to the end of the
userdef file in the /etc/rc.d/8 directory, then rebooting the system.