[GRLUG] Split multiplage postscript into individual pages

Godwin geektoyz at gmail.com
Wed May 7 12:38:19 EDT 2008


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?

thanks,
G-

-- 

Ubber::Geek
http://grlug.org/


More information about the grlug mailing list