serials printers with Xenix 2.3.2
Jonathan Bayer
jbayer at ispi.UUCP
Thu Aug 10 22:44:30 AEST 1989
jim at bahamut.fsc.com (James O'Connor) writes:
>Is there a special stty setting that must be turned on (or off) to get a
>serial port to use DTR handshaking with a serial printer? Should I use
>/dev/tty1G instead of /dev/tty1g?
>In the absence of DTR handshaking, what is the best way to set a serial
>printer up to do XON/XOFF handshaking? With the way I have it set now, with a
>line like:
>stty 9600 opost ixon 0<&1
>in lp/interface/billing, the interface script just stops printing at some
>point (while there are still jobs in the Q). Turning the printer off/on
>doesn't help (I don't think it sends an XON at power up, it's an Oki 293
>printer). The only way to fix it is to run "lpshut", realign the printer,
>then run "lpsched". This is no fun when printing invoices or checks. If the
I had this same problem at one of my customers. It turns out that the
problem started right after upgrading to 2.3.2 from 2.2.1 (I know, a big
upgrade.) The solution was to change the stty settings to the
following:
stty 9600 cs8 onlcr tab3 ixon ixoff clocal 0<&1
I got these settings simply by making a new printer, specifying it to be
a serial printer, and comparing the settings created with the settings
from the original printer. They were different. Since I changed them
to the above settings I have had no problems with that printer.
JB
--
Jonathan Bayer Beware: The light at the end of the
Intelligent Software Products, Inc. tunnel may be an oncoming dragon
500 Oakwood Ave. ...uunet!ispi!root
Roselle Park, NJ 07204 (201) 245-5922 jbayer at ispi.UUCP
More information about the Comp.unix.xenix
mailing list