[GRLUG] Split multiplage postscript into individual pages

Greg Folkert greg at gregfolkert.net
Wed May 7 13:14:55 EDT 2008


On Wed, 2008-05-07 at 12:38 -0400, Godwin wrote:
> So, the goal is to take a 500 or so page PS file and split it into 500
> individual pages.  I know, you're thinking "dude, easy!  Just type
> this:
> 
> gs -r600 -sDEVICE=pswrite -sOutputFile=outfile_%03d.ps -dNOPAUSE
> inputfile.ps -c quit
> 
> and voila!"
> 
> Yeah, but the output is "binary" postscript not "text", so I lose the
> ability to search for strings like "John Doe".  Does anyone know how
> to split to "text" PS and keep layout/form?

Convert it to 500 - 1 page PDFs and then inline it to "formatted text"?

I'm working on a couple hours of sleep since Monday... so I amy be out
of the ball park.
-- 
greg at gregfolkert.net
PGP key 1024D/B524687C 2003-08-05
Fingerprint: E1D3 E3D7 5850 957E FED0  2B3A ED66 6971 B524 687C
Alternate Fingerprint: 09F9 1102 9D74  E35B D841 56C5 6356 88C0
Alternate Fingerprint: 455F E104 22CA  29C4 933F 9505 2B79 2AB2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://shinobu.grlug.org/pipermail/grlug/attachments/20080507/8c402204/attachment.pgp 


More information about the grlug mailing list