delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/15/07:01:13

Date: Wed, 15 Mar 2000 10:56:05 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Prashant TR <tr AT midpec DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Printing to a Printer
In-Reply-To: <200003150239.HAA01230@midpec.com>
Message-ID: <Pine.SUN.3.91.1000315105544.17230T-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Wed, 15 Mar 2000, Prashant TR wrote:

> gavey <gaveyNOgaSPAM AT telusplanet DOT net DOT invalid> writes:
> 
> > I've looked all over and I just can't figure out how to
> > send output to the printer... I saw the _bios_print
> > function, but that just isn't easy enough for what I'm
> > looking for... any Ideas???
> 
> How about opening the "lpt1" device and writing to it?

You don't need to open it: there's a predefined stream `stdprn' which
already has it open.

- Raw text -


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