How to Merging PDF Files?
First of all, the very required thing is all the Postscript files you need to combine & Adobe Distiller installed properly in your machine. Locate all the .ps files into a specified folder (ex: file1.ps & file2.ps). Then, create a file contain the source below & named with any kind of name you want with .ps extension (ex: merge.ps). Store it in the same folder where the multiple source existed:
/prun { /mysave save def
dup = flush
RunFile
clear cleardictstack
mysave restore
} def
% Change the path/to/filex depend on OS platform you used by
(path/to/file1.ps) prun
(path/to/file2.ps) prun
Use the pathname syntax appropriate for the platform running Adobe Distiller just like example below:
Macintosh pathname syntax: (Macintosh HD:path:to:filex.ps) prun+
Windows pathname syntax: (x:/path/to/filex.ps) prun
UNIX pathname syntax: (./path/to/filex.ps) prun
Note that it will more easier when there is no space character in your current path & Postscript files name. The last thing to do is, distill the file on the machine running Acrobat Distiller by double-clicking the merge.ps file. If nothing goes wrong, there should be created a file named merge.pdf automatically in a moment. Have a try & good luck.
Labels: Tips Trik
