From: Jp Calderone Newsgroups: comp.lang.c++,comp.os.msdos.djgpp Subject: Re: Printing to printer Date: Fri, 22 Jan 1999 23:02:42 -0500 Organization: Cornell University Lines: 15 Sender: nwc4 AT cornell DOT edu (Verified) Message-ID: <36A949E2.DB24E24A@NOSPAM.particle.dyn.ez-ip.net> References: <36A7D498 DOT F1429591 AT phreaker DOT net> NNTP-Posting-Host: d6104.dialup.cornell.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.07 [en] (X11; I; Linux 2.0.35 i686) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Nicolas Blais wrote: > > Can anyone show me how to print Hello World to a printer with DJGPP? > > Thanks, > Nicolas Blais ofstream f("lpt1"); f << "Hello World\n\r"; Might work for you, might not, if not, you'll have better luck on a news group related to DJGPP or your platform.