can i split a pdf file?

Chuck Robey chuckr at telenix.org
Sun Jan 25 18:16:28 PST 2009


-----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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at 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-----


More information about the freebsd-questions mailing list