Message-ID: <3BC8E739.398EF950@yahoo.com> From: CBFalconer Organization: Ched Research X-Mailer: Mozilla 4.75 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: get lines to the printer References: <459d544e49 DOT 44e49459d5 AT sitel DOT uqam DOT ca> <932-Sat13Oct2001185845+0200-eliz AT is DOT elta DOT co DOT il> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 26 Date: Sun, 14 Oct 2001 02:27:21 GMT NNTP-Posting-Host: 12.90.169.95 X-Complaints-To: abuse AT worldnet DOT att DOT net X-Trace: bgtnsc05-news.ops.worldnet.att.net 1003026441 12.90.169.95 (Sun, 14 Oct 2001 02:27:21 GMT) NNTP-Posting-Date: Sun, 14 Oct 2001 02:27:21 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Eli Zaretskii wrote: > > > 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"); Is there some special magic there? I do all my printing via fineprint (see http://www.fineprint.com) which is a windows only printer driver that creates booklets, etc. It is not normally accessible from DOS, so I have no printing capability from DOS except to write to a file and later print that. I don't understand W$x printers :-[ -- Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT XXXXworldnet DOT att DOT net) (Remove "XXXX" from reply address. yahoo works unmodified) mailto:uce AT ftc DOT gov (for spambots to harvest)