🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #2404

Question about Concatenating PS Files

#2404
From: Grant Williamson
Date: Thu, 28 Jun 1990 21:13
28 lines
1602 bytes
I want to take an arbitary number of PostScript files and concatenate 
them together for subsequent processing by various PostScript programs.

Based on a few tests and my *very* limited knowledge of PostScript, 
I've reached the conclusion that merely concatenating the two (or more)
files together without some sort of re-structuring is *not* acceptable.  

The (multi-part) question is:

   1. Is this even a feasible concept (concatenation of PostScript files)?

   2. If so, I would imagine that a filter should be written which 
      would restructure the concatenated contents into something that 
      looks like a single cohesive document.  Do you think this filter 
      would be difficult to write in a robust fashion (so that it 
      won't fail for non-trivial PostScript files)?

   3. If a generalized filter isn't an option, is there perhaps
      some way to reset all PostScript parameters at the beginning
      of each new document appearing in the concatenated file?

If you can give me any pointers, hints, references, code ;^), please
do so by sending e-mail to grantw@sun.com.

Your help is greatly appreciated!
--

-Grant
Technical Details
Message-ID: <138052@sun.Eng.Sun.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!samsung!rex!ames!amdcad!sun!zooid.Eng.Sun.COM!grantw

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!samsung!rex!ames!amdcad!sun!zooid.Eng.Sun.COM!grantw
From: grantw@zooid.Eng.Sun.COM (Grant Williamson)
Newsgroups: comp.lang.postscript
Subject: Question about Concatenating PS Files
Message-ID: <138052@sun.Eng.Sun.COM>
Date: 28 Jun 90 21:13:37 GMT
Sender: news@sun.Eng.Sun.COM
Distribution: usa
Organization: Sun Microsystems, Mt. View, Ca.
Lines: 28