joining multiple PDFs into one

Russ rreiter91-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Fri Nov 18 09:08:54 UTC 2011


You can concatenate PDF files, do a byte count after the action. The data will be there. It's just that PDF format was initially developed in an effort by Adobe to carve out their own propritary chunk of the MS DOS market. Catting the files and piping them through sed to remove unnecessary DOS eof markers and whatever other crap will work so that any unsophisticated parser will display the content. Apparantly more advanced ones can deal with the mess.

 

DAVID CHIPMAN <chipmand at rogers.com> wrote:

>How to do this?
>
>
>I tried cat file1 file2 file2 > file, but that didn't work, I only got
>the last page.
>
>Thomas, 
>
>You can't concatenate PDF files, but you can concatenate PS (PostScript) files ("man pdf2ps" and "man ps2pdf", for details) . Converting from one to the other and back is quite trivial, using those two commands. I leave the rest up to you, sir,
>
>-David
>
>PS: To everyone else: I'm surprised in this whole long thread no one else has mentioned this! Shame on you!


More information about the Legacy mailing list