GhostScript noob help - Breaking a multipage PDF file into many single page PS or EPS files.
Posted
by
godzilla_g
on Super User
See other posts from Super User
or by godzilla_g
Published on 2010-12-26T18:23:31Z
Indexed on
2010/12/26
18:55 UTC
Read the original article
Hit count: 270
Hi,
I'm trying to do the following with ghostscript:
Turn one multipage PDF file (about 3,000 pages, 200mb file) into:
One file per page of the PDF, and convert each (page/file) to EPS or PS (post script(preferably)).
Example:
hello.pdf (10 pages)
would produce:
hello1.ps (page 1 out of 10)
hello2.ps
hello3.ps
...
hello10.ps
How can I do this? I've been trying for 4 days, and can't figure it out.
I have a script I've tried(won't work):
Note: Windows(7) user here.
gs -sDEVICE=epswrite -o documentname-%.eps documentname.pdf
I also don't know how to navigate to the directory where my file resides (cannot figure that out, too). If you can, please show me how.
A big thank you.
© Super User or respective owner