Newsgroups: comp.sys.atari.st Path: utzoo!utgpu!watserv1!watmath!ljdickey From: ljdickey@watmath.waterloo.edu (L.J.Dickey) Subject: Re: Can GCC treat printer like file? Message-ID: <1991Apr26.044146.19629@watmath.waterloo.edu> Keywords: gcc Organization: University of Waterloo References: <1991Apr19.200801.26887@ux1.cso.uiuc.edu> <032147.3514@timbuk.cray.com> Date: Fri, 26 Apr 1991 04:41:46 GMT Lines: 20 In article <032147.3514@timbuk.cray.com> marc@sequoia.cray.com (Marc Bouron) 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? -- Prof L.J. Dickey, Faculty of Mathematics, U of Waterloo, Canada N2L 3G1 Internet: ljdickey@watmath.waterloo.edu UUCP: ljdickey@watmath.UUCP ..!uunet!watmath!ljdickey X.400: ljdickey@watmath.UWaterloo.ca