🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #9161

Re: Superscript etc in Postscript

#9161
From: Woodrow Baker
Date: Sun, 04 Mar 1990 21:28
17 lines
1230 bytes
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
Technical Details
Message-ID: <18094@rpp386.cactus.org>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!natinst!rpp386!woody
References: <2879@ursa.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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