Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!pilchuck!seahcx!phred!brianr
From: brianr@phred.UUCP (Brian Reese)
Newsgroups: comp.lang.pascal
Subject: Re: Output to printer.
Message-ID: <2766@phred.UUCP>
Date: 29 Sep 89 19:12:22 GMT
References: <50331@tiger.oxy.edu> <2765@phred.UUCP>
Reply-To: brianr@phred.UUCP (Brian Reese)
Organization: <2765@phred.UUCP>o
Lines: 27

In article <2765@phred.UUCP> brianr@phred.UUCP (Brian Reese) writes:
>
>OK, OK.  I'll give in.  The original poster is using Turbo 3.02.  3.0 does not
>*use* any units.  The simplest way I see to do this is to redefine the 
>standard Output to prn as follows:
>
>begin
>  WriteLn('This is CRT output');
>  Assign(Output, 'prn');
>  ReWrite(Output);
>  WriteLn('This is PRN output');
>end.

I just posted this, then a couple of articles later, someone said this would
not work with 3.02.  I am using 4.0 (haven't used 3.0 for some time) and was
pretty sure it would work with 3.0.  If it doesn't, sorry.  As Gilda would
say: "Never mind."  :-)


Brian



-- 
Brian Reese                           uw-beaver!pilchuck!seahcx!phred!brianr
Physio Control Corp., Redmond, Wa.                         brianr@phred.UUCP
"Do not write on this line.  This line has been left blank intentionally."