* Print pass through to a local printer
@ 1994-09-20 7:02 Kelvin Pine
1994-09-24 17:48 ` Peter Sherwood
0 siblings, 1 reply; 2+ messages in thread
From: Kelvin Pine @ 1994-09-20 7:02 UTC (permalink / raw)
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).
Thanks,
Kelvin Pine.
kelvin@ariel.ucs.unimelb.edu.au
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Print pass through to a local printer
1994-09-20 7:02 Print pass through to a local printer Kelvin Pine
@ 1994-09-24 17:48 ` Peter Sherwood
0 siblings, 0 replies; 2+ messages in thread
From: Peter Sherwood @ 1994-09-24 17:48 UTC (permalink / raw)
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
-----------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1994-09-24 17:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-09-20 7:02 Print pass through to a local printer Kelvin Pine
1994-09-24 17:48 ` Peter Sherwood
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox