Mail Archives: djgpp/1995/05/01/15:13:41
> porting it back to DOS/DJGPP I noticed that writing to LPT1:/PRN: would
> furiously churn the disk but produce nothing! I have taken to writing the
> output to disk and then printing that from DOS.
That one's easy: DOS doesn't recognize LPT1: or PRN: as special when you
attach a colon to them. Use LPT1, PRN, etc., and it will work.
I know. The common way to refer to these devices at the command line is with
the colon so... I am certain I wrote the code to refer to LPT1 and PRN without
colons, however, I will certainly take another look at it. I just remembered
that I also tried writing to stdprn, which the info pages say is supported, as
I did with the 16-bit compiler and got the same strange result. Thanks.
--
Art S. Kagel, kagel AT ts1 DOT bloomberg DOT com
- Raw text -