Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!cs.utexas.edu!uunet!timbuk!marc From: marc@sequoia.cray.com (Marc Bouron) Newsgroups: comp.sys.atari.st Subject: Re: Can GCC treat printer like file? Keywords: gcc Message-ID: <032649.21988@timbuk.cray.com> Date: 26 Apr 91 09:02:45 GMT References: <1991Apr19.200801.26887@ux1.cso.uiuc.edu> <032147.3514@timbuk.cray.com> <1991Apr26.044146.19629@watmath.waterloo.edu> Reply-To: marc@sequoia.cray.com (Marc Bouron) Organization: Cray Research, Inc. Lines: 29 In article <1991Apr26.044146.19629@watmath.waterloo.edu>, ljdickey@watmath.waterloo.edu (L.J.Dickey) writes: |> In article <032147.3514@timbuk.cray.com> marc@sequoia.cray.com |> (Me!! :-) ) writes: |> > |> >In article <1991Apr19.200801.26887@ux1.cso.uiuc.edu>, timothyg@ncsa.uiuc.edu |> (Timothy Gallivan) writes: |> > ... |> > There is a standard filename called `PRN:' or `LST:' that you should be |> > able to use just like any other filename. TOS recognises this filename |> > and directs the output to the printer. For example, you would write |> > fopen("LST:","w"). You'll need to check yourself which one works... |> > one is standard TOS - the other was a Lattice special. |> |> |> Is there a standard filename for the serial port? Try "AUX:". Also, "CON:" for the console. [M][a][r][c] ################################################################################ # # marc@sequoia.cray.com # . . # # Marc CR Bouron # M.Bouron@cray.co.uk (ARPA) # _|\ /|_ # # Cray Research (UK) Ltd. # M.Bouron@crayuk.uucp (DOMAIN) # (_|_V_|_) # # +44 344 485971 x2208 # M.Bouron@uk.co.cray (JANET) # | | # # # ...!ukc!crayuk!M.Bouron (UUCP) # # ################################################################################