how to concatenate 2 pdf files to 1?

Antonio Olivares olivares14031 at gmail.com
Fri Apr 29 11:52:31 UTC 2011


On Fri, Apr 29, 2011 at 1:57 AM, Dino Vliet <dino_vliet at yahoo.com> wrote:
> Dear freebsd userlist,
> here an application type of question. I have two pdf files and want to make 1 out of them by concatenating them. Does anyone have an idea how to do that on unix/linux as I don't have the pdf editor from Adobe.
>
> So fileA.pd en fileB.pdf should become fileC.pdf (where C is A+B)
>
> Brgds
> Dino

You can use gs (ghostscript)  Try the following:

$ gs -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=fileC.pdf -dBATCH
fileA.pdf fileB.pdf

That should combine the 2 into 1.

Regards,

Antonio


More information about the freebsd-questions mailing list