nroff printer driver for LQ2500

Marcio de Carvalho carvalho at garnet.berkeley.edu
Tue Feb 2 16:14:53 AEST 1988


In article <3176 at killer.UUCP> chip at killer.UUCP (Chip Rosenthal) writes:
>
>The problem is that nroff will only produce 7-bit characters.  The special
>characters in my printer (e.g. greek letters) require 8-bit characters.
>Fine...what I did is translate 8-bit characters to the two-character
>sequence { TRIGGER_CHAR, (8_BIT_CHAR & 0177) } and place this two character
>sequence in my table.  Then I modified my line folding/backspace translating
>output filter to translate this two-character sequence back to a single 8-bit
>character.
>
Maybe what follows doesn't apply to your version of nroff.  I run DWB 2.0
on an ATT 3b2, and was informed of the following undocumented feature:

You can enter 8-bit characters in the "charset" table by preceding it with a 
"%".

For example (for an IBM character set printer):

*a 1 %\340
*b 1 %\341
bu 1 %\371


This way you can also use the foreign language characters by creating
the appropriate string (Any 2-character name):

a' 1 %\240



More information about the Comp.unix.xenix mailing list