Mail Archives: djgpp/1996/08/07/13:21:19
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
- Raw text -