home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!europa.eng.gtefsd.com!emory!swrinde!sdd.hp.com!caen!uflorida!usf.edu!figment!woodard
- From: woodard@figment.tmc.edu (Chris Woodard)
- Newsgroups: comp.lang.c
- Subject: Re: Questions on PRINTERS, PRINTING
- Message-ID: <1993Jan23.183312.19447@ariel.ec.usf.edu>
- Date: 23 Jan 93 18:33:12 GMT
- References: <79658@hydra.gatech.EDU>
- Sender: news@ariel.ec.usf.edu (News Admin)
- Organization: University of South Florida, Department of Computer Science and Engineering
- Lines: 12
-
-
-
- To print from within a Borland C program, the following code will work
-
- fprintf( stdprn, "\f" ); /* send a form feed */
- fprintf( stdprn, "Feed me!\n" ); /* send an amusing message */
-
- stdprn is a predefined stream pointer in the Borland package just like
- stdout, stdin, or stderr; it gets initialized and pointed to LPT1 when
- the program starts up (and the first fprintf call is made).
-
- Chris Woodard
-