home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.next.misc
- Path: sparky!uunet!paladin.american.edu!darwin.sura.net!wupost!csus.edu!news
- From: eps@futon.SFSU.EDU (Eric P. Scott)
- Subject: Re: Editing '.ps' files?
- Message-ID: <1992Jul31.053336.6399@csus.edu>
- Sender: news@csus.edu
- Reply-To: eps@cs.sfsu.edu
- Organization: San Francisco State University
- References: <1992Jul30.113455.13997@aplcen.apl.jhu.edu>
- Date: Fri, 31 Jul 1992 05:33:36 GMT
- Lines: 25
-
- In article <1992Jul30.113455.13997@aplcen.apl.jhu.edu>
- tim@aplcen.apl.jhu.edu (Tim Pugh) writes:
- >Please podon my ignorance but it would seem that PostScript is a great
- >output file format but not readily available as an input format. While
- >I am able to open a '.ps' file in Edit, all I see is "raw" PostScript".
- >WriteNow will not even show that a '.ps' file exists in it's open panel.
- >While Preview is great for display of a '.ps' file, how does one convert
- >it to an input format such as RTF or ASCII (without the PS commands)?
-
- This is one of the most commonly asked questions in the newsgroup
- comp.lang.postscript. <-- blatant plug
-
- The general answer is, "you can't." PostScript is an honest-to-
- goodness programming language, and the ONLY way to make sense of
- arbitrary PostScript is to execute it. Except for rigid subsets
- (such as Adobe Illustrator format) that are basically data
- structures suitably contrived to pass for valid PostScript, it's
- impossible to do what you're asking for any but the most trivial
- files (which generally means no reencodings, no kerning, etc.).
- Sometimes you can get away with redefining a whole bunch of
- operators (ref. distill) and get something meaningful, especially
- if whatever generated the PostScript in the first place wasn't
- deliberately mean-spirited.
-
- -=EPS=-
-