Date: Mon, 26 Jan 2009 16:53:27 +0100 From: Roland Smith <rsmith@xs4all.nl> To: Gary Kline <kline@thought.org> Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: can i split a pdf file? Message-ID: <20090126155327.GA19435@slackbox.xs4all.nl> In-Reply-To: <20090126001822.GA38314@thought.org> References: <20090126001822.GA38314@thought.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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<N> -dLastPage=3D<M> \ -sOutputFile=3D<outfile.pdf> <infile.pdf> -c quit >/dev/null 2>&1 Where <N> and <M> are page numbers, and <outfile.pdf> and <infile.pdf> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090126155327.GA19435>