Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!natinst!rpp386!woody From: woody@rpp386.cactus.org (Woodrow Baker) Newsgroups: comp.lang.postscript Subject: Re: Superscript etc in Postscript Summary: nope Keywords: Bold, superscript, italic etc. Message-ID: <18094@rpp386.cactus.org> Date: 4 Mar 90 21:28:23 GMT References: <2879@ursa.UUCP> Organization: River Parishes Programming, Plano, TX Lines: 17 In article <2879@ursa.UUCP>, raj@ursa.UUCP (Raj) writes: > > > When you print a string using the show command (or equivalent) > is there a way of embedding escape sequences in the string > to obtain subscript, superscript, bold, italic etc. effects? > Nope. To do this, you have to create a string scanner that examines the string, looking for the specific control codes that you choose to use. Then you have to go do it yourself. I have written several printer emulators that do just that. The most complex one to date, is a complete emulation of the Diablo emulation with extensions that is found in the NEC P9 printer. The automated posting has an ascii to postscript routine in it that handles simple stuff like formfeeds, backspaces, et et. You might look at it. Cheers Woody