From owner-freebsd-questions@FreeBSD.ORG Mon Jan 26 02:16:27 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 75CBF106568A for ; Mon, 26 Jan 2009 02:16:27 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: from mail5.sea5.speakeasy.net (mail5.sea5.speakeasy.net [69.17.117.7]) by mx1.freebsd.org (Postfix) with ESMTP id 50BE28FC22 for ; Mon, 26 Jan 2009 02:16:27 +0000 (UTC) (envelope-from chuckr@telenix.org) Received: (qmail 10853 invoked from network); 26 Jan 2009 01:27:57 -0000 Received: from april.chuckr.org (HELO april.telenix.org) (chuckr@[66.92.151.30]) (envelope-sender ) by mail5.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 26 Jan 2009 01:27:57 -0000 Message-ID: <497D0FF3.6090402@telenix.org> Date: Sun, 25 Jan 2009 20:20:51 -0500 From: Chuck Robey User-Agent: Thunderbird 2.0.0.6 (X11/20071107) MIME-Version: 1.0 To: FreeBSD Mailing List References: <20090126001822.GA38314@thought.org> <20090126005156.GJ66858@comcast.net> In-Reply-To: <20090126005156.GJ66858@comcast.net> X-Enigmail-Version: 0.95.5 OpenPGP: id=F3DCA0E9; url=http://pgp.mit.edu Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: 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 02:16:28 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Charlie Kester wrote: > On Sun 25 Jan 2009 at 16:18:26 PST Gary Kline wrote: >> >> 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? > > pdfsam ( http://www.pdfsam.org/ ) does both splits and merges of pdf > files, but it doesn't seem to be in the FreeBSD ports system. > > There is a pdfmerge in /usr/ports/print, but no pdfsplit. > It's a very junky way to do it (but the only way I know), use pdf2ps to convert the pdf to postscript, then you stand at least a good chance of doing the split, which many utilities allow. You could even do it graphically via gv. The problem with this (and the reason it might well fail anyhow) is because some things that pdfs do aren't implemented in any standard postscript level I ever heard of. It depends how many of the more recent extensions to pdf are being used. I've done this, *sometimes*. Because the pdf spec is fully published, it might one day allow someone to write a splitter, but because the spec is SO enormous, maybe they won't, either. Actually, that's a really good notion ... I need to give it some thought. > -- Charlie > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkl9D/MACgkQz62J6PPcoOnxIQCgg+Suf4NpK8TXTNbYZIW0BCrR fKYAn3ljinZw9s1fPG39IMpblVNg0H+N =mGhJ -----END PGP SIGNATURE-----