Thread View: adobe.postscript.programming
2 messages
2 total messages
Started by apondu
Fri, 17 Feb 2006 10:00
Parsing the postscript content
Author: apondu
Date: Fri, 17 Feb 2006 10:00
Date: Fri, 17 Feb 2006 10:00
8 lines
1376 bytes
1376 bytes
Hi, I am trying to extract the text content of the postscript file and put it into to a text file, in simple words i am trying to parse the postscript files. Can anyone suggest or provide the code or the dll which does this. I am using the C#.Net for my parsing. Thank You.
Re: Parsing the postscript content
Author: DBW
Date: Thu, 02 Mar 2006 18:54
Date: Thu, 02 Mar 2006 18:54
22 lines
1650 bytes
1650 bytes
In article <1140170414.573596.279720@o13g2000cwo.googlegroups.com>, "apondu" <apondu@gmail.com> wrote: > Hi, > > I am trying to extract the text content of the postscript file and put > it into to a text file, in simple words i am trying to parse the > postscript files. Can anyone suggest or provide the code or the dll > which does this. I am using the C#.Net for my parsing. > If you have a long text editor with a Grep Search and Replace facility you can extract the ascii text between the ( and ) PS delimiters by using: Find (.[^\(]*)\((.[^\)]*) Replace \2 \r Note the space before \r However, much DTP software produces binary or octal PS files and the only way is to distill the original PS into PDF and use OCR to extract the text. DB-W
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads