"Chris J" <cej [at] nightwolf.org.uk> writes: > And Lo! The Great Prophet Simon Brown uttered these words of wisdom: >> Hi, >> >> I've got two documents which I'd like to combine into one. They are in >> Postscript format. I've found psmerge but it looks like an old tool and >> doesn't want to work for me. I think it's picky about the documents it >> merges. >> > > You can't 'cat' them together - according to a quick google, it seems a PS > file has a certain structure that is required, and simply catting them > together would give one PS file with two prolouges and two sets of > properties, thus rendering the file invalid. Except that prologue is just informative, for programs that manipulate postscript files. Now, it's possible your printer would depend on such things, but I've yet to actually deal with such a printer. More likely, the PS files wouldn't be leaving the interpreter in the state they found it in, which would make the second not work.... > Apparently though a2ps makes a stab at merging them: > > a2ps -1 file1.ps file2.ps file3.ps -o output.ps Probably a better way than just using cat, I admit ;) > Chris... -- Eric E. Moore
Attachment:
pgp00000.pgp
Description: PGP signature