From: kagel AT quasar DOT bloomberg DOT com Date: Wed, 7 Aug 1996 13:12:16 -0400 Message-Id: <9608071712.AA03578@quasar.bloomberg.com > To: jean AT amadeus DOT ireq DOT hydro DOT qc DOT ca Cc: djgpp AT delorie DOT com In-Reply-To: (jean@amadeus.ireq.hydro.qc.ca) Subject: Re: How to find printer port number? Reply-To: kagel AT dg1 DOT bloomberg DOT com From: jean AT amadeus DOT ireq DOT hydro DOT qc DOT ca (Jean Cote) Date: Tue, 30 Jul 1996 23:01:16 GMT Hi all, I would like to know want is the port number to send data to printer port of my PC. Just write to stdprn: fprintf( stdprn, "\nPAGE HEADER\n\n" ); or open a file named "LPT1", or "LPT2", or "PRN": FILE *prt; prt = fopen( "PRN", "a" ); fprintf( prt, "\nPAGE HEADER\n\n" ); -- Art S. Kagel, kagel AT quasar DOT bloomberg DOT com A proverb is no proverb to you 'till life has illustrated it. -- John Keats