From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,ba752b6b74f3d389 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-02-14 11:41:54 PST Newsgroups: comp.sys.dec Path: gmd.de!xlink.net!howland.reston.ans.net!vixen.cso.uiuc.edu!sdd.hp.com!saimiri.primate.wisc.edu!news.doit.wisc.edu!psl.wisc.edu!psl.wisc.edu!JRW From: jrw@psl.wisc.edu Subject: Re: VT220 with printer? Message-ID: <1994Feb14.194154.12569@pslu1.psl.wisc.edu> Sender: news@pslu1.psl.wisc.edu (USENET News System) Reply-To: jrw@psl.wisc.edu Organization: University of Wisconsin - Physical Science Lab References: <2jjfom$3n8@sparky.cs.nyu.edu> Date: Mon, 14 Feb 94 19:41:54 GMT In article <2jjfom$3n8@sparky.cs.nyu.edu>, m-ad0016@smosna.cs.nyu.edu (Alex Diamantis) writes: > > I've just inherited a Vt220 which I generally just >use to read news from home. I was wondering if it's >possible to connect a printer to it, for "print screens". >Is this possible...the Vt is not connected to a network >or anything..just a modem, and the printer I'd like to use >is a dot matrix. Yes! In fact, I do all my computing from home with a dumb terminal and a PostScript printer. While the user interface isn't pretty, I can get nice output for low cost. To do this, simply hook up a printer to the printer port on the back of the terminal (if you need the pinouts, e-mail me the number of pins on the printer port of your terminal). And you can do better than screen dumps... by sending an escape sequence to your screen, it tells VMS to send all characters after that to the printer port rather than to the screen. For example, $ esc[0,8] = 27 $ write sys$output esc,"[5i" ! Enter printer controller mode, causing $ ! all characters sent to the terminal $ ! to go to the printer, instead of the $ ! screen (except XON, XOFF, NULL). $ type 'infile' ! "print" the file. $ write sys$output esc,"[4i" ! Exit printer controller mode, causing $ ! all characters to return to their $ ! regularly scheduled destination. I bought a PostScript printer because the VT-type terminals will not pass three characters: ascii 0, ascii XON, and ascii XOFF, so you can't print graphics with a non-PostScript printer (ascii 0 is heavily used). I have software that I got off the net that creates a virtual device called PP (for Printer Port) that allows you to copy a file to PP:, and it will come out on your printer (uses the escape sequences as above, but it's easier to use this from within programs [like WP for VMS]). -- Jim Winkle, PSL System Manager jrw@psl.wisc.edu 608-877-2261 Physical Sciences Laboratory jrw@wiscpsl.bitnet University of Wisconsin - Madison psl::jrw