delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/05/03:11:17

From: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Output to the Printer
Date: 5 Mar 1997 05:51:01 GMT
Organization: The National Capital FreeNet
Lines: 27
Message-ID: <5fj1k5$d94@freenet-news.carleton.ca>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 970303131831 DOT 9009I-100000 AT is>
Reply-To: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire)
NNTP-Posting-Host: freenet5.carleton.ca
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Eli Zaretskii (eliz AT is DOT elta DOT co DOT il) writes:
> On Sun, 2 Mar 1997, Anthony Villena wrote:
> 
>> 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!
> 
> Use the predefined stream `stdprn':
> 
> 	fprintf (stdprn, "Hello, %s\n", "world");


So djgpp does have a stdprn. I guess I should have a closer look at stdio.h.

Also, speaking of system header files, the documentation for gcc refers to
a header file machine.h that doesn't exist, in connection with a flag
FRAME_POINTER_REQUIRED. (sp?)
(I searched my entire include, and then the whole djgpp directory with dir
machine.h \s. Then I did in each include directory a find "blah" *.h with
whatever the damned define name actually is.
--
    .*.  Where feelings are concerned, answers are rarely simple [GeneDeWeese]
 -()  <  When I go to the theater, I always go straight to the "bag and mix"
    `*'  bulk candy section...because variety is the spice of life... [me]
Paul Derbyshire ao950 AT freenet DOT carleton DOT ca, http://chat.carleton.ca/~pderbysh

- Raw text -


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