cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/06/06:33:46

Date: Sun, 6 Jun 1999 13:28:25 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: taupin <taupin AT lps DOT u-psud DOT fr>
cc: DJGPP List <djgpp AT delorie DOT com>
Subject: Re: Sending commands to lpt1, lpt2, etc.
In-Reply-To: <375A3065.4880DA40@lps.u-psud.fr>
Message-ID: <Pine.SUN.3.91.990606132013.26532B-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sun, 6 Jun 1999, taupin wrote:

>  Which FILE should I open (unless implicitly opened) to be able to send
> codes to printers LPT1: LPT2: PRN

For the default printer, simply use the provided stream stdprn, it is 
already open when the program starts.  Note that it is open in binary 
mode, so e.g. \n is NOT converted into \r\n by default.

For non-default printers, open "LPT1" and "LPT2" (without a colon!) and 
then use them as if they were files.

- Raw text -


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