delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/04/22:56:02

From: av568 AT rgfn DOT epcc DOT edu (Beautiful Savior Lutheran Church)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Output to the Printer
Date: 5 Mar 1997 03:05:43 GMT
Organization: The Rio Grande Free-Net, El Paso Community College, El Paso, TX
Lines: 29
Message-ID: <5finu7$q67@news.epcc.edu>
References: <331A1B3B DOT 34DE AT arn DOT net> <5fdpfv$nsc AT freenet-news DOT carleton DOT ca>
NNTP-Posting-Host: rgfn.epcc.edu
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Paul Derbyshire (ao950 AT FreeNet DOT Carleton DOT CA) wrote:

> Anthony Villena (skylight AT arn DOT net) writes:
> > Hi!
> > 
> > I'm fairly new with C, and have decided to make DJGPP the compiler
> > of my choice. Unfortunatly I haven't found any thing in the docs
> > that tell me how to send text to the printer. If you could help it
> > would be MUCH apperciated. Thanks!

> In regular C:

<FILE-using code snipped>

> In C++:

> I haven't a clue, but there might well be a printer stream like the
> monitor stream "cout" using libiostr.

I believe that there is a clog (that's C, then log is in logfiles, not 
clog as in what happens to drains :) that will output to the printer.

> Also, there might be a "stdprn" in stdio.h. I can't recall.

Correct.

--
Beautiful Savior Evangelical Lutheran Church - av568 AT rgfn DOT epcc DOT edu
We have what you need-- A Savior!

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019