Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site ethos.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!decvax!mcnc!duke!ethos!smith From: smith@ethos.UUCP (Gary J. Smith) Newsgroups: net.micro.att Subject: nroff, the Epson FX-85, and the 7300 Message-ID: <149@ethos.UUCP> Date: Tue, 3-Dec-85 14:09:42 EST Article-I.D.: ethos.149 Posted: Tue Dec 3 14:09:42 1985 Date-Received: Thu, 5-Dec-85 07:37:24 EST Organization: ETHOS, Durham, North Carolina Lines: 21 Keywords: superscripts, subscripts 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