🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.postscript.programming
Article #1095

Newbie Question: Text Expressions?

#1095
From: David Frier
Date: Fri, 25 Jul 2003 13:49
14 lines
1679 bytes
I am hoping the members of this group can help out with a postscript newbie question.

I have a need (for reasons too hilarious to go into here) to post-process Postscript output files from an application before they go to print. What I need to do is find a certain byte value (0xBA) and change it to print as a Registered Trademark symbol. I think the best way to do this is to insert an escape sequence into the operand for the ( ) show command such that the magic byte becomes a 'registered.'

I am having the devil's own time finding the right reference to how this would be constructed.

As a follow-up question, since I obviously need it, where o where is a decent online PS tutorial???

So, to clarify. What I am looking for is how to insert a character from the font BY NAME into an otherwise literal string, because the desired character happens not to be in the symbolset selected.

TIA!!
--
--David Frier
  <http://www.dfconsultants.com/>
Technical Details
Message-ID: <1dea10dd.-1@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!proxad.net!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!WebX

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10c61a,8dd029680a274b0b,start
X-Google-Attributes: gid10c61a,public
X-Google-ArrivalTime: 2003-07-25 07:07:50 PST
From: "David Frier" <dfrier@dfconsultants.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!news-out.visi.com!petbe.visi.com!proxad.net!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.postscript.programming
Subject: Newbie Question: Text Expressions?
Message-ID: <1dea10dd.-1@WebX.la2eafNXanI>
Date: Fri, 25 Jul 2003 06:49:11 -0700
Lines: 24
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit