From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-192303-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id E65CE138359
	for <garchives@archives.gentoo.org>; Thu,  9 Jul 2020 15:44:17 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id E0A36E08DD;
	Thu,  9 Jul 2020 15:44:12 +0000 (UTC)
Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 9ABCAE0877
	for <gentoo-user@lists.gentoo.org>; Thu,  9 Jul 2020 15:44:12 +0000 (UTC)
Received: by mail-wr1-x432.google.com with SMTP id s10so2862398wrw.12
        for <gentoo-user@lists.gentoo.org>; Thu, 09 Jul 2020 08:44:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=googlemail.com; s=20161025;
        h=subject:to:references:from:message-id:date:user-agent:mime-version
         :in-reply-to:content-transfer-encoding:content-language;
        bh=j68SKcdbA9BlvVLzkTiby996aPoZxgeorjt2MMGN1Rw=;
        b=MGsXH0Hty/EqU8REpebuxFt3u/hzp22JJUu0L990/fUdEshEyCZ6t5t83b+ouC4o/5
         19hJgpOmtUg8HO3YNXt36Ku4VHMzCEy4rlkQFO1n82bBnXHCWWzletaOq2qc2+qTEG5u
         sEr1gMJwhojZy12AWBGcgQwRdUOT5n/DXDopiytdIkKnuVEswFB9g5ua8K1PGRjpwfqQ
         gQiOQwFTLHRW4t1m6yP26iQ61dMFvV33gn6S671aifjHbH/kjOLR6g0WrQM9ThGE9eZP
         pxKOhb59HcTCMkTpHxoyA38+3ZtAtIffaPpUAxlQx9Caci18IC05WGgmoAr8LMJQUPTg
         ciIQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:subject:to:references:from:message-id:date
         :user-agent:mime-version:in-reply-to:content-transfer-encoding
         :content-language;
        bh=j68SKcdbA9BlvVLzkTiby996aPoZxgeorjt2MMGN1Rw=;
        b=brZ36RiTisWKffdk/WYcqF3PA5h8UkUV54CP/FyasT0tzAXqmdiFP0KnzC6FPs4gOx
         OwVItfwWn2CBMsxjZnGu0kjP0NXAz0bhawTX7GBOYy/+OeSb1yRxsA2GA2rVLw2Meyek
         n/vIE78HvgugsEtsZecD95FIipc/N9y03m5YHOgZu6/IkHl/toLLheNPxHQZRaWXoRED
         xCOlqe/y0KMPE/hm9BqPLJsZRc2mZvWhqzyjEo1P9E6VUQ2NjJaB5FbuMZMqKwzXTvpe
         uvOWne1cpvzZDlIvvOjx5Gfprc7wVrKQLluYMVFFi/gJsjn4mPgxARSlJg3CB5ic3Ylj
         IQ1w==
X-Gm-Message-State: AOAM531l3CvtUqYqFszoGr8bzfa2DmDIF43zbL6zAkWEh74TcGiTZOfJ
	0PmadOpBHkVjed9nHPo=
X-Google-Smtp-Source: ABdhPJxd6am/HvPfgOroY5tH9wKl1+0lTwQowBSxlVRZbc+SanbvL5HBGoz+yYcwtWAnhzXGYNIdBA==
X-Received: by 2002:adf:ec42:: with SMTP id w2mr64636403wrn.269.1594309450885;
        Thu, 09 Jul 2020 08:44:10 -0700 (PDT)
Received: from [84.75.68.10] (84-75-68-10.dclient.hispeed.ch. [84.75.68.10])
        by smtp.gmail.com with ESMTPSA id 133sm5469467wme.5.2020.07.09.08.44.10
        for <gentoo-user@lists.gentoo.org>
        (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
        Thu, 09 Jul 2020 08:44:10 -0700 (PDT)
Subject: Re: [gentoo-user] Joining PDF files together.
To: gentoo-user@lists.gentoo.org
References: <20200709133136.GA4852@ACM>
 <20200709173919.1e8ac286@comet2.terra.ger>
From: Tamer Higazi <th982a@googlemail.com>
Message-ID: <0d8d38f7-8b52-e8dd-4496-eceb73e1b778@googlemail.com>
Date: Thu, 9 Jul 2020 17:44:09 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
 Thunderbird/68.10.0
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
MIME-Version: 1.0
In-Reply-To: <20200709173919.1e8ac286@comet2.terra.ger>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-US
X-Archives-Salt: 57cbf4f6-81dd-4c07-a8fd-c5044c5cd40b
X-Archives-Hash: e0ce7b52ab2f52f72fb0f930f9c7a098

Ghostscript is installed by most pdf distributions, and if not merge it.

Look here:

gs -q -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=myoutput.pdf 
fil21.pdf file2.pdf file3.pdf


best, Tamer

On 2020-07-09 17:39, Gerrit Kuehn wrote:
> On Thu, 9 Jul 2020 13:31:36 +0000
> Alan Mackenzie <acm@muc.de> wrote:
>
>> Would somebody please suggest to me an appropriate package to do this
>> with.
> I use ImageMagick for joining pages scanned with xsane:
>
> convert page1 page2 pages.pdf
>
> Note that especially for pdf files, tools like pdftk or pdfjam will
> probably produce better results. However, (x)sane usually produces
> very large pdf files. So you may receive better end results creating
> separate png files with sane and then join these (using ImageMagick as
> shown above).
>
>
> cu
>    Gerrit
>