Util needed to convert N 1 pg PS files into one N pg file 
Author Message
 Util needed to convert N 1 pg PS files into one N pg file

Does there exist a utility that can read in, say, 20 one page postscript files
and create a single file of 20 pages?  Please respond by email.  Thanks.

Tony



Wed, 21 Feb 1996 04:10:39 GMT  
 Util needed to convert N 1 pg PS files into one N pg file

I've used the PS code wrapper below to wrap distinct PostScript files such that
they can be concatenated with others similarly wrapped into a single job, e.g.
for performing N-up on multiple independently-generated PS files.  Perhaps this
is enough to get you going.  It should be relatively easy to build a simple
Unix shell script to do the right thing.

%Begin encapsulated job
save
countdictstack
mark  % Leave mark on top of stack as a backstop to emul stackunderflow
count dup 1 add 1 roll      % Put current stackcount on bottom of stack
% Operand    Stack:  stacksize-1 ... saveobject dictstacksize mark
% Dictionary Stack:  systemdict userdict ...

%%BeginDocument:

%%<INSERT POSTSCRIPT FILE HERE>%%

%%EndDocument

% Restore operand and dictionary stacks to state before file was run
count 1 sub dup 2 add -1 roll sub {pop} repeat
pop % should be mark!
countdictstack exch sub {end} repeat
restore
initgraphics
erasepage
%End encapsulated job

..Don Markuson



Tue, 27 Feb 1996 06:17:34 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. how to convert several ps files to one ps file

2. Need Help - Converting multiple ps files into one

3. no results-call asp pg using WSH

4. I need to ask a Javascript question: NS Specific - CSS Sheets

5. splitting one big (~500 pages) ps file into small-ones - with delimiters in files

6. Problem merging multiple single page ps files into one multipage ps file

7. Several PS-Files to one PS-File

8. How to merge multiple PS files into one PS file

9. Multiple PS files to one, one-page PS

10. Convert TIFF-Pictures to ONE PS-File?

11. Can I convert EPS file to PS one ??

12. Request: Strip util for PS text file

 

 
Powered by phpBB® Forum Software