www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/10/13/13:23:03

Date: Sat, 13 Oct 2001 18:58:46 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: "Pascal Richer" <richer DOT pascal AT courrier DOT uqam DOT ca>
Message-Id: <932-Sat13Oct2001185845+0200-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9
CC: djgpp AT delorie DOT com
In-reply-to: <459d544e49.44e49459d5@sitel.uqam.ca>
(richer DOT pascal AT courrier DOT uqam DOT ca)
Subject: Re: get lines to the printer
References: <459d544e49 DOT 44e49459d5 AT sitel DOT uqam DOT ca>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: "Pascal Richer" <richer DOT pascal AT courrier DOT uqam DOT ca>
> Date: Sat, 13 Oct 2001 10:20:14 -0400
> 
>   I need to do an application who must create some lines to the 
> screen... (this section is correct) and the application must create the 
> same lines but to the printer... Is it possible to do this ?

Yes, use the predefined stream `stdprn'.  Like this:

     fprintf (stdprn, "Hello, my printer!\n");

- Raw text -


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