From owner-freebsd-questions@FreeBSD.ORG Mon Jan 26 15:53:29 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C94B910656C2 for ; Mon, 26 Jan 2009 15:53:29 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr7.xs4all.nl (smtp-vbr7.xs4all.nl [194.109.24.27]) by mx1.freebsd.org (Postfix) with ESMTP id 604708FC18 for ; Mon, 26 Jan 2009 15:53:29 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr7.xs4all.nl (8.13.8/8.13.8) with ESMTP id n0QFrR8r087229; Mon, 26 Jan 2009 16:53:27 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 4D0B2BA8B; Mon, 26 Jan 2009 16:53:27 +0100 (CET) Date: Mon, 26 Jan 2009 16:53:27 +0100 From: Roland Smith To: Gary Kline Message-ID: <20090126155327.GA19435@slackbox.xs4all.nl> References: <20090126001822.GA38314@thought.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HcAYCG3uE/tztfnV" Content-Disposition: inline In-Reply-To: <20090126001822.GA38314@thought.org> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: FreeBSD Mailing List Subject: Re: can i split a pdf file? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jan 2009 15:53:30 -0000 --HcAYCG3uE/tztfnV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 25, 2009 at 04:18:26PM -0800, Gary Kline wrote: > Folks, >=20 > Is there a way to split a large pdf file into smaller [ say 1MB ] > chunks? Or are there open source tools out there that i can > build? =20 =09 Ghostscript (when built with the pdfwrite driver) will copy pages from a PD= F: gs -DNOPAUSE -sDEVICE=3Dpdfwrite -dFirstPage=3D -dLastPage=3D \ -sOutputFile=3D -c quit >/dev/null 2>&1 Where and are page numbers, and and are the output and original filename respectively. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --HcAYCG3uE/tztfnV Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) iEYEARECAAYFAkl93HcACgkQEnfvsMMhpyVEfwCgjW/dL5NDS3fh2C1cLpsB4cVR p2cAnjQFpydTqZtnq5XdS32P9zxzoxeI =q1nD -----END PGP SIGNATURE----- --HcAYCG3uE/tztfnV--