[net.micro] Underlining text on Epson dot matrix printers

mason@noscvax.UUCP (Nicholas B. Mason) (05/07/86)

Date: Wed, 7 May 86 11:49:03 PDT
From: Nicholas B. Mason <mason>
Message-Id: <8605071849.AA05972@cod.ARPA>
To: noscvax!sdcsvax!dcdwest!ittatc!decvax!decwrl!pyramid!pesnta!amd!amdcad!lll-crg!seismo!rlgvax!brahms
Subject: Re: Underlining text on Epson MX+ printers
Newsgroups: net.micro
In-Reply-To: <1001@rlgvax.UUCP>
Organization: Naval Ocean Systems Center, San Diego
Cc: 

In article <1001@rlgvax.UUCP> you write:
>My company wrote software to drive an Epson MX+ compatible Genicom printer.
>The Genicom works fine but when we hook a genuine Epson MX+ printer up,
>underlining goes wild.  Specifically, we can't underline a blank line and
>often underlining won't turn off when an <ESC>-0 is sent to the printer.
>Has anyone ever encountered these problems before?  Thanks in advance for 


  This is a common problem encountered by many users. Most people send an 
  <ESC>-0 and expect the printer to turn off. but what is sent ? This 
  sequence sends 1BH 2DH 30H to the printer. the problem is the printer 
  want a "true" zero ,00H, not an ASCII zero, 30H. SO instead of sending
  <ESC>-0 send an <ESC>-<CTRL@> which will send a 1BH 2DH 00H to the printer
  and turn off the underline.



	  Nick Mason
	  NOSC    San Diego , CA
          mason@nosc

	ihnp4  \
        akgua   \
        decvax   ------------------!sdcsvax!noscvax!mason
        dcdwest /
        ucbvax /