| delorie.com/archives/browse.cgi | search |
| From: | Jp Calderone <exarkun AT NOSPAM DOT particle DOT dyn DOT ez-ip DOT net> |
| 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 |
| 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
<NON_STANDARD>
ofstream f("lpt1");
f << "Hello World\n\r";
</NON_STANDARD>
Might work for you, might not, if not, you'll have better luck
on a news group related to DJGPP or your platform.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |