delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/15/03:03:03

Date: Tue, 15 Jun 1999 10:00:28 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Vince McCarthy <vmccar AT juno DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Need help with printer
In-Reply-To: <19990614.165113.10271.0.vmccar@juno.com>
Message-ID: <Pine.SUN.3.91.990615100010.2646M-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 Mon, 14 Jun 1999, Vince McCarthy wrote:

>        I have used the commands `fprintf(stdprn, "string")'  and also `
> fprintf(":lpt1", "command string")' 

Please give us some information with which to begin helping you.  A
short complete test program that should have printed something, and a
description of what happens when you actually run it on your machine,
would be a good beginning.  It is impossible to help you without
looking at the code you tried to use.

Btw, the second line above, fprintf(":lpt1", "command string"), is
certainly wrong, since the first argument to fprintf should be a
stream, not a file name.  But using stdprn should work.

- Raw text -


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