From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 33CCD1384B4 for ; Fri, 20 Nov 2015 04:29:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 71395E080C; Fri, 20 Nov 2015 04:29:12 +0000 (UTC) Received: from smtp.webfaction.com (mail6.webfaction.com [74.55.86.74]) by pigeon.gentoo.org (Postfix) with ESMTP id 4726EE07DD for ; Fri, 20 Nov 2015 04:29:11 +0000 (UTC) Received: from localhost (S01066c198ff2a0cc.ok.shawcable.net [96.50.232.19]) by smtp.webfaction.com (Postfix) with ESMTP id ABBAE207A566 for ; Fri, 20 Nov 2015 04:29:10 +0000 (UTC) Date: Thu, 19 Nov 2015 20:29:01 -0800 From: Bryan Gardiner To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] combining pdf files, different size Message-ID: <20151119202901.3b70764b@khumba.net> In-Reply-To: <564E82CB.6040401@sys-concept.com> References: <564E79E2.3040809@sys-concept.com> <564E82CB.6040401@sys-concept.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/b+naeKsAeph/WURD5xCea6t"; protocol="application/pgp-signature" X-Archives-Salt: 123a5dff-44a2-462f-bfef-8c3ada8a7ff2 X-Archives-Hash: ddd3cae60b3eac88d4acbfeb679c4d4e --Sig_/b+naeKsAeph/WURD5xCea6t Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Thu, 19 Nov 2015 19:17:47 -0700 thelma@sys-concept.com wrote: > On 11/19/2015 06:39 PM, thelma@sys-concept.com wrote: > > I'm trying to use "pdfjoin" to combine two different page size pdf files > > but it will not let me. Is it possible. > >=20 > > I don't see any switches to ignore page size. >=20 > "pdfunite" works but I have to add/specify output file name. > With "pdfjoin" it automatically creates the last_name_file + "-join.pdf" > suffix. >=20 > In XFCE in "Configure Custom Action" menu entry I added: > pdfjoin %N >=20 > so highlighting several pdf files it gives me output file name "-join" > if I run it again on same file I get: "-join-join" >=20 > With "pdfunite" it overrides the same file name. I have this command from no-idea-where to concatenate PDFs using Ghostscript (all credit to wherever it's from :), and a quick test seems to show it working for different page sizes (the pages retain their respective sizes). If you like the "-join" suffix then use this script: #!/bin/sh exec gs -dBATCH -dNOPAUSE -q -sDEVICE=3Dpdfwrite \ -sOutputFile=3D"$(basename "$1" .pdf)-join.pdf" "$@" Cheers, Bryan --Sig_/b+naeKsAeph/WURD5xCea6t Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJWTqGQAAoJEFPvvKBj5hg8OwoP/1Oit5L+65vn3WZcvGPE0igD m50j91HaKDhq+pavTO4D5c8tuviiqmkvNaSAUrdkwXUjrbJmRYfGajzk+f1o3Tvn A48c7ai/Xa8/Zk8hdOBd1CNhTqTxh0ZOsXXruYGzMHDp7cykJcRAmrL1KKIxfoIo bx6shg0muKJynswpHHKUzH7aPO/NJwgZLT83qIFSt/P334dEQ0/ymvfdrGu7IUWf igdxwlG82Ul8QP5CU9MlrcytAW2yRu8YwqE/vX8d626Cg4H0sRy1T8jZJ9B1hGpv 0EDdKd1UKrX4ouT+0COjh2HXuMPF2hq8ovj+uke9+9mH4YLdZo364gao4yHd/cGt eHdla6HGsW2GjiRBGrW7k4TnHsQQd+NF9fc894lqob9Qg7fT2e3YYzBed9gDO9g2 aKH+GyqqkoppkJ9tL0xnTu1Xo2WEQ9Ar7IyMK8DCvL4NTqstd5XV2srnkY8S1pDN HKkLDMV4IVR64XZGcS1GwYiL9OMVms2i1YK9BMlmz+LXe04HTVcg2sZqF46KjXWZ 8VHlW7NsiOURsM3yKV23vD/fRBNLfc8IKbMsNo8NzPqkX5hI3Vn6h2KrEHYyzi31 QW1jI41d3XI/pk2QU7UCfl4Hslx1Flsc1yLalZhJxDIIjQVER6lufamIqnIBaBF4 dmv/86yp0TDwT9lSP3Jt =7p/b -----END PGP SIGNATURE----- --Sig_/b+naeKsAeph/WURD5xCea6t--