www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/20/02:07:06

Date: Thu, 20 Feb 1997 08:59:44 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "Gautam N. Lad" <gautam AT interlog DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: How do I print using 'fprintf()' to LPT1?
In-Reply-To: <5efjvt$4tj@news.interlog.com>
Message-ID: <Pine.SUN.3.91.970220085838.25071G-100000@is>
MIME-Version: 1.0

On Wed, 19 Feb 1997, Gautam N. Lad wrote:

> Can someone tell me how to print using fprintf()?
> Basically, I want to print to LPT1.  I know this is possible!

Use `stdprn' as the stream in the call to `fprintf'.  It is connected to 
the default printer (that's a feature of DOS).

- Raw text -


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