can i split a pdf file?
Roland Smith
rsmith at xs4all.nl
Mon Jan 26 07:53:30 PST 2009
On Sun, Jan 25, 2009 at 04:18:26PM -0800, Gary Kline wrote:
> Folks,
>
> 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?
Ghostscript (when built with the pdfwrite driver) will copy pages from a PDF:
gs -DNOPAUSE -sDEVICE=pdfwrite -dFirstPage=<N> -dLastPage=<M> \
-sOutputFile=<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
--
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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090126/b03677c4/attachment.pgp
More information about the freebsd-questions
mailing list