delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/01/05:30:55

Date: Thu, 1 Jul 1999 12:28:25 +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: your mail about printers
In-Reply-To: <19990624.185520.10271.0.vmccar@juno.com>
Message-ID: <Pine.SUN.3.91.990701122757.10503C-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 Thu, 24 Jun 1999, Vince McCarthy wrote:

>        fprintf(stdprn, "\x1B\x41");
>        
>         Its the n part of the command that throws me. I have tried %i,
> %c, %h .

fprintf (stdprn, "\x1b\x41%c", '\1') should send ESC A 1 to the
printer.

- Raw text -


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