[net.micro.att] nroff, the Epson FX-85, and the 7300

smith@ethos.UUCP (Gary J. Smith) (12/03/85)

I recently encountered a problem trying to get my Epson FX-85 to
do superscripts and subscripts in nroffed files.  After a call to
the AT&T Hotline and some work, here is a way to get around the
problem.

Make an executable sed file named "Epx" (or any name you prefer)
containing this script (it's one line):

sed -e "s/^8//"  -e "s/^9//" -e "s/8\([^]*\)9/S0\1T/" -e "s/9\([^]*\)8/S1\1T/" -e "s/..*[8]\([^]*\)$/S0\1T/" -e "s/..*[9]\([^]*\)$/S1\1T/" 

Then use this command to nroff your text file:

nroff filename | Epx > filename2

Then print out filename2.  The super/subscripts will work great.
Hope that helps some of you who have been baffled with your Epson
printers and 7300s.

Gary Smith
decvax!duke!ethos!smith