Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!syntron!orcisi!michael From: michael@orcisi.UUCP Newsgroups: comp.lang.c,comp.sys.ibm.pc Subject: Re: Problem with Microsoft C ver 3 and above under DOS 2.XX Message-ID: <761@orcisi.UUCP> Date: Fri, 9-Jan-87 09:20:53 EST Article-I.D.: orcisi.761 Posted: Fri Jan 9 09:20:53 1987 Date-Received: Fri, 9-Jan-87 23:12:13 EST References: <471@we53.UUCP> Organization: Optical Recording Corporation, Toronto, Ontario Lines: 13 Xref: syntron comp.lang.c:605 comp.sys.ibm.pc:756 > If you are runing MS-DOS 2.XX and use microsoft C version 3.00 and/or 4.0 > the following code will cause some problems. > > FILE *fp; > > fp = fopen( "prn", "w" ); > . > . > . > fclose(fp); You could just fprintf( stdprn, ... ); stdprn is predefined and "pre-opened" (but you probably trying to do something slightly different).