Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Apr 2011 06:52:29 -0500
From:      Antonio Olivares <olivares14031@gmail.com>
To:        Dino Vliet <dino_vliet@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: how to concatenate 2 pdf files to 1?
Message-ID:  <BANLkTi=2Si5kFJiBFLzZwS030rpMd-OVgA@mail.gmail.com>
In-Reply-To: <629611.69016.qm@web113601.mail.gq1.yahoo.com>
References:  <629611.69016.qm@web113601.mail.gq1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Apr 29, 2011 at 1:57 AM, Dino Vliet <dino_vliet@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTi=2Si5kFJiBFLzZwS030rpMd-OVgA>