From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,3f5ec1bf161eedb9 X-Google-Attributes: gid1164f8,public From: Lester Shields Subject: Re: xon/xoff Date: 1997/07/23 Message-ID: <33D5FB05.62AF6209@ovnet.com>#1/1 X-Deja-AN: 258306925 References: <01bc974d$a2b247c0$d0e6869f@ph-office> X-Priority: 3 (Normal) Organization: Eaton Corporation Reply-To: lshields@ovnet.com Newsgroups: comp.sys.dec Philip Hawthorne wrote:
I wonder can someone help me?

I have an old, working LA210 wide carriage printer with  a serial interface
which I want to use for logging purposes. For use with a PC, the manual
(and other documentation found at Digital's Web Site) talk about adding the
line "xon/xoff" to autoexec.bat since the printer uses xon/xoff protocol
flow control.

I have vague memory of using this command once before. Our visiting Digital
engineer also remembers seeing "xon/xoff" in th past but can't recall
where.

It seems a strange - not to say invalid - name for a DOS program?

Anybody heard tell of it, have it or can help me control the printer any
other way? Without it the printer stalls after a few hundred characters.

TIA

Philip H.

XON/XOFF is not a program of any kind.  It is a flow control protocol built into the serial driver.  XON and XOFF are common names for the ASCII codes DC1 and DC3 (device controls 1 and 3).  Whne using XON/XOFF, the computer may send at a faster rate than the printer can print.  Thus the printers buffer fills up.  At some point, usually around 90%, the printer sends XOFF and the computer stops sending for a while.  When the printer buffer falls below, say 50%, the printer sends XON and the computer responds by sending some more.

You can select XON/XOFF (software) flow control or RTS/CTS (hardware flow control) by setting up the properties for the serial port, or by a command to the comm driver, or in some applications by configuration of the app which then controls the behavior of the comm port.

Again, it is not a program.

Les