* Re: VT220 with printer?
1994-02-12 20:55 VT220 with printer? Alex Diamantis
@ 1994-02-14 18:53 ` Tim Llewellyn
1994-02-14 19:41 ` jrw
1 sibling, 0 replies; 5+ messages in thread
From: Tim Llewellyn @ 1994-02-14 18:53 UTC (permalink / raw)
In article <2jjfom$3n8@sparky.cs.nyu.edu>, m-ad0016@smosna.cs.nyu.edu (Alex
Diamantis) writes:
|>Xref: bsmail comp.sys.dec:13289
|>Path:
|
bsmail!warwick!pipex!howland.reston.ans.net!news.intercon.com!panix!cmcl2!slinky
y.cs.nyu.edu!slinky.cs.nyu.edu!nobody
|>From: m-ad0016@smosna.cs.nyu.edu (Alex Diamantis)
|>Newsgroups: comp.sys.dec
|>Subject: VT220 with printer?
|>Date: 12 Feb 1994 15:55:50 -0500
|>Organization: Courant Institute, New York University
|>Lines: 13
|>Sender: m-ad0016@cs.nyu.edu
|>Distribution: world
|>Message-ID: <2jjfom$3n8@sparky.cs.nyu.edu>
|>NNTP-Posting-Host: sparky.cs.nyu.edu
|>
|>
|> 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.
|>
|>--
|> _/ _/ _/ _/ _/ _/ Alex Diamantis
|> _/_/ _/ _/_/ _/ _/ m-ad0016@cims.nyu.edu
|> _/ _/_/ _/ _/ _/ Courant Institute of Mathematical Sciences
|>_/ _/ _/ _/_/_/ 2 + 2 = 7, 4 is propaganda!
|>
Your VT220 has a printer port, yes? Then as long as the printer is
compatibe (ie serial interface, not sure what else) this should be possible.
Even better, you can in theory actually print a file from the system
you are accessing remotely. I have a .COM file I got from comp.os.vms
recently to do this.
Why do I say "in theory" you ask. Well I have a very similar setup
(Vt220, LA75, modem) and I can't get a beep out of the printer. In the
setup screen it says printer ready (this changes to printer no ready
when I unplug/power off the printer). When I press eg print screen the
cursor dissappears for a while (as if talking to printer) but the printer
just sits there.
I suspect some cabling subtelty (eg I heard DEC and IBM 9-pin RS232
have different pin outs, I possibly have 9-pin adaptor wired for IBM)
but havn't had the time or energy to sit down with VT200 and LA75 docs
and a DVM to work out whats wrong.
Or is there a REAL reason one can't print from a VT220 to a connected
printer over a modem? I don't see it.
--
-----------------------------------------------------+------------------+
Tim Llewellyn - OpenVMS, Soukous and Cricket Addict |Hey, and get wise |
Physicist Programmer, Bristol Uni Particle Physics. | to the sounds of |
HEPNET/SPAN 19716::TJL Internet tjl@siva.bris.ac.uk | Africa,seen. |
I speak for me and noone else OK (and I might even | Soukous Makossa |
change my mind sometimes!-) | N'Dagga Mbalax..|
-----------------------------------------------------+------------------+
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: VT220 with printer?
1994-02-12 20:55 VT220 with printer? Alex Diamantis
1994-02-14 18:53 ` Tim Llewellyn
@ 1994-02-14 19:41 ` jrw
1994-02-15 15:02 ` Tim Kennedy
1 sibling, 1 reply; 5+ messages in thread
From: jrw @ 1994-02-14 19:41 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 5+ messages in thread