• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Manipulating Postscript File
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Manipulating Postscript File


  • Subject: Manipulating Postscript File
  • From: email@hidden
  • Date: Thu, 24 Jan 2002 01:17:04 EST

Here's the scenario:

I have a Freehand 9 file which needs to be printed using thousands of
different addresses. Instead of doing all that manually, I want to write a
script to make the substitutions. Here's what I'm hoping I can do:

I'd like to write a postscript file to disk just once, open the .ps file in a
text editor such as BBEdit, do a search and replace with the new address and
save the file under a new name.

I won't have any trouble scripting most of this myself, but I am stuck on
searching and replacing in the .ps file and I don't know enough about
postscript to solve this myself. When I do a search for the address, it
fails. I think it's because the string is coded in hex instead of just as an
ascii string. If that's not correct, does anyone know why I can't find the
string?

Can anyone help me to learn how to search a Freehand 9 postscript file to
find a string of text and replace it with another string (which will probably
need to be converted to hex, if that's in fact what's happening)? Any in
formation about this, complete or not, will be greatly appreciated.

Thanks in advance!

Ken Fleisher
email@hidden


  • Follow-Ups:
    • Re: Manipulating Postscript File
      • From: Doug McNutt <email@hidden>
    • Re: Manipulating Postscript File
      • From: garbanzito <email@hidden>
    • Re: Manipulating Postscript File
      • From: William Kyngesburye <email@hidden>
  • Prev by Date: Re: FMP Container
  • Next by Date: [OS X] accessing time of system input inactivity
  • Previous by thread: Re: QuarkXPress 5 Available
  • Next by thread: Re: Manipulating Postscript File
  • Index(es):
    • Date
    • Thread