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)

Attachment: pgplvmCyDnbtC.pgp
Description: PGP signature

Reply via email to