From owner-freebsd-questions@FreeBSD.ORG Tue Jan 27 07:34:49 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 D88A91065670 for ; Tue, 27 Jan 2009 07:34:49 +0000 (UTC) (envelope-from A.Robinson@ms.unimelb.edu.au) Received: from c220-237-183-166.frank1.vic.optusnet.com.au (c220-239-136-154.frank2.vic.optusnet.com.au [220.239.136.154]) by mx1.freebsd.org (Postfix) with ESMTP id 341268FC1C for ; Tue, 27 Jan 2009 07:34:48 +0000 (UTC) (envelope-from A.Robinson@ms.unimelb.edu.au) Received: from c220-237-183-166.frank1.vic.optusnet.com.au (localhost [127.0.0.1]) by c220-237-183-166.frank1.vic.optusnet.com.au (8.14.3/8.14.3) with ESMTP id n0Q7HFVu070778 for ; Mon, 26 Jan 2009 18:17:26 +1100 (EST) (envelope-from A.Robinson@ms.unimelb.edu.au) Received: (from andrewr@localhost) by c220-237-183-166.frank1.vic.optusnet.com.au (8.14.3/8.14.3/Submit) id n0Q7H5u4070773 for freebsd-questions@freebsd.org; Mon, 26 Jan 2009 18:17:05 +1100 (EST) (envelope-from A.Robinson@ms.unimelb.edu.au) X-Authentication-Warning: c220-237-183-166.frank1.vic.optusnet.com.au: andrewr set sender to A.Robinson@ms.unimelb.edu.au using -f Date: Mon, 26 Jan 2009 18:17:05 +1100 From: Andrew Robinson To: FreeBSD Questions Message-ID: <20090126071705.GQ1313@ms.unimelb.edu.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i 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: Tue, 27 Jan 2009 07:34:50 -0000 Message: 2 > Date: Sun, 25 Jan 2009 20:20:51 -0500 > From: Chuck Robey > Subject: Re: can i split a pdf file? > To: FreeBSD Mailing List > Message-ID: <497D0FF3.6090402@telenix.org> > Content-Type: text/plain; charset=ISO-8859-1 > > -----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. It's not quite the same thing, but pdfnup from the /usr/ports/print/pdfjam package allows page selections from the contributing pdfs. http://www2.warwick.ac.uk/fac/sci/statistics/staff/academic/firth/software/pdfjam Andrew > > -- 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----- -- Andrew Robinson Department of Mathematics and Statistics Tel: +61-3-8344-6410 University of Melbourne, VIC 3010 Australia Fax: +61-3-8344-4599 http://www.ms.unimelb.edu.au/~andrewpr http://blogs.mbs.edu/fishing-in-the-bay/