
Doing things with the printer !!!
Quote:
> I unfortunately do not know how to use my TurboC(2.1-Borland) in order
> to do the printing.
> I wonder if somebody could either give the few steps~(in C preferably)
> to follow or send me a piece of program that does this.
There are no standard facilities for doing this, so what works on one
compiler is likely not to work with another. Under Turbo C I believe
that in addition to the standard stdin, stdout and stderr the compiler
also gives you the stdprn file which you can write to to write to the
printer. More portably under DOS, you could open the file "PRN" or
one of the "LPTx" files and write to that.
--
http://www.tardis.ed.ac.uk/~broonie/
EUFS http://www.eusa.ed.ac.uk/societies/filmsoc/