in reply to Parsing Postscript

Howdy!

What sort of data are you looking to extract? The text? Page info?

Your question is too vague to answer...

I've done a tiny bit, generating a table of contents, by depending on the fairly rigid structure in the file -- something I can depend on because I control the generation of the PostScript itself.

yours,
Michael

Replies are listed 'Best First'.
Re^2: Parsing Postscript
by toadi (Chaplain) on Jul 22, 2004 at 12:04 UTC
    Well both. I got a big postscript page with several pages. Need to parse page info and data.


    --
    My opinions may have changed,
    but not the fact that I am right

      Howdy!

      OK. Can you be more precise about what you expect to get out of the postscript file? Your question remains exceedingly vague -- sufficient to make it unanswerable.

      Do you have any prior knowledge or control over the format of the postscript? Are there any assumptions you can make that would simplify the task of running it by a set of regexen, or something of the sort?

      yours,
      Michael