Path: utzoo!utgpu!water!watmath!clyde!rutgers!ames!aurora!labrea!agate!garnet.berkeley.edu!carvalho From: carvalho@garnet.berkeley.edu (Marcio de Carvalho) Newsgroups: comp.unix.xenix Subject: Re: nroff printer driver for LQ2500 Keywords: nroff tabxxx Epson Message-ID: <6822@agate.BERKELEY.EDU> Date: 2 Feb 88 06:14:53 GMT References: <2447@crash.cts.com> <3176@killer.UUCP> Sender: usenet@agate.BERKELEY.EDU Reply-To: carvalho@garnet.berkeley.edu.UUCP (Marcio de Carvalho) Organization: University of California, Berkeley Lines: 27 In article <3176@killer.UUCP> chip@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