🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: adobe.postscript.programming
2 messages
2 total messages Started by MK Thu, 12 Jul 2007 21:05
Reading Data elements from PS File
#395
Author: MK
Date: Thu, 12 Jul 2007 21:05
3 lines
1051 bytes
Hi - I have requirement to process data elements from a post script files. Currently I am doing string parsing...which needless to say is painfull and hard to maintain.
I wanted to know if there are any libraries (open source, commercial) which would help me to process the data elements from post script file.
Even if there are tools which would convert the PS files to meaningfull readble data like CSV files, XML files would be great.
Re: Reading Data elements from PS File
#396
Author: Aandi_Inston
Date: Fri, 13 Jul 2007 07:51
15 lines
1289 bytes
To get the data from a PostScript file requires a PostScript
interpreter; nothing else can be reliable.  Consider

(careful) 2 { (really ) } repeat (Please be ) show show show show

as a simple example of why parsing cannot work properly.

Writing an interpreter is a good 2-5 man years of solid work.

There are two approaches with the interpreter: redefine operators to
track what you need, or modify the interpreter.

GhostScript is open source and free for non-commercial use.

Aandi Inston
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