From: gbcacm@ccs.neu.edu (Peter Sherwood)
Subject: Re: Print pass through to a local printer
Date: 24 Sep 1994 17:48:32 GMT [thread overview]
Message-ID: <361opg$hbv@narnia.ccs.neu.edu> (raw)
In-Reply-To: kelvin.780044485@ariel
Kelvin Pine (kelvin@ariel.ucs.unimelb.EDU.AU) wrote:
: Can someone tell me the escape codes to tell a vt100/220 to start and stop
: printing to a locally attached printer so I can have a SCO printer attached to
: a remote vt220 (vt220 emulator under windows).
For a VT220 (and also VT320 and VT420), the following will do what you want:
CSI ? 5 i autoprint on
CSI ? 4 i autoprint off
CSI 5 i printer controller mode on
CSI 4 i printer controller mode off
In autoprint, characters to terminal are printed at the end of each line.
Autoprint may be turned on from the keyboard as Ctrl-Printscreen. In
controller mode, characters are passed to the printer, but not displayed.
In the above, CSI is either ESC [ (7-bit) or ASCII 155 (9/11) (8-bit),
and the spaces aren't included in the control sequences.
-----------------------------------------------------------------------------
Peter Sherwood
(617) 332-8880 (voice)
(617) 332-1675 (fax)
gbcacm@ccs.neu.edu
-----------------------------------------------------------------------------
prev parent reply other threads:[~1994-09-24 17:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-09-20 7:02 Print pass through to a local printer Kelvin Pine
1994-09-24 17:48 ` Peter Sherwood [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox