The following is one postscript file with 3 pages. (I don't know why page 4 doesn't show up).
And the file doesn't always give expected result.
--------------------------
%!PS-Adobe-3.0
%%BoundingBox: 0 0 600 792
%%Page: 1 1
newpath
144 72 moveto
144 232 lineto
stroke
/Times-Roman findfont 30 scalefont setfont
200 200 moveto (page 1)show
showpage
%%Page: 2 2
newpath
144 72 moveto
164 262 lineto
stroke
200 200 moveto (page 2)show
showpage
%%Page: 3 3
newpath
144 72 moveto
184 292 lineto
stroke
200 200 moveto (page 3)show
showpage
%%Page: 4 4
newpath
144 72 moveto
204 322 lineto
stroke
200 200 moveto (page 4)show
showpage
----------------------------------
To combine multiple postscript files into one with separate pages, do following 2 simple steps:
ReplyDeleteStep 1, near the beginning, add the following line for each page:
%%Page: n n
note n should be 1, 2, 3, 4...
The location of this line might need adjust to take effect.
Step 2 (Optional), if there is any, comment out the following line, usually at the end of the file.
%%EOF
For example, change %%EOF to %%%EOF