From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,1c99a39afad54608 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-09-24 10:57:41 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!MathWorks.Com!news2.near.net!yale!yale.edu!noc.near.net!chaos.dac.neu.edu!narnia.ccs.neu.edu!gbcacm From: gbcacm@ccs.neu.edu (Peter Sherwood) Newsgroups: comp.sys.dec Subject: Re: Print pass through to a local printer Date: 24 Sep 1994 17:48:32 GMT Organization: College of Computer Science, Northeastern University. Message-ID: <361opg$hbv@narnia.ccs.neu.edu> References: NNTP-Posting-Host: denali.ccs.neu.edu X-Newsreader: TIN [version 1.2 PL2] 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 -----------------------------------------------------------------------------