Date: Sat, 13 Oct 2001 18:58:46 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: "Pascal Richer" 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 Precedence: bulk > From: "Pascal Richer" > 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");