Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Creating several (e)ps/pdf-files out of one ! HELP !

2 views
Skip to first unread message

Carsten Fechtmann

unread,
Apr 23, 1999, 3:00:00 AM4/23/99
to
Hello everyone,
I am just trying to seperate the pages of pdf files ( 2 pages each ) into
eps or pdf files 1 page each by using ghostscript 5.50 to be included in another
tex-file

Looking at the man pages this should be simple :  -sOutputFile=test%d.xyz
However, using one of the following commands only produces one file named:
test1.pdf for "gs -q -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=test%d.pdf test.pdf quit.ps"   or
test1.eps for "gs -q -dNOPAUSE -sDEVICE=epswrite -sOutputFile=test%d.eps test.pdf quit.ps"   or
test1.ps  for "gs -q -dNOPAUSE -sDEVICE=epswrite -sOutputFile=test%d.ps test.pdf quit.ps"
that contains both pages (even for eps!?!)

The -q -dNOPAUSE options or quit.ps at the end don't effect the result
I also tried starting from a ps-file instead of the pdf-file, same result !?

When using psselect, the pages will be separated, however lpr refuses to print them
(They are visible/readable in ghostview and gv ) ??
When including the files from psselect in tex they show shortly in gv / ghostsript but
are blanked after processing (i.e. the pages are white after everything has been read)

Has anyone an idea if this is a bug in gs5.50 or
how to resolve my problem

I really dont't know how to proceed at the moment....

With best regards

Carsten Fechtmann / fe...@zarm.uni-bremen.de

Martin Schäfer

unread,
Apr 26, 1999, 3:00:00 AM4/26/99
to
Hallo Carsten,
nix für ungut, aber Postings mit Mime-Headern sind im Usenet nun mal
unbeliebt.
Stell das bitte ab. Antwort auf deine Frage erhälst du am ehesten in:
comp.text.pdf
comp.graphics.apps.ghostscript
comp.lang.postscript

Sorry
Martin

Heiko Oberdiek

unread,
Apr 26, 1999, 3:00:00 AM4/26/99
to
On Fri, 23 Apr 1999 16:10:49 +0200, Carsten Fechtmann
<fe...@zarm.uni-bremen.de> wrote:

>I am just trying to seperate the pages of pdf files ( 2 pages each )
>into
>eps or pdf files 1 page each by using ghostscript 5.50 to be included in
>another
>tex-file

Look at gstools/gs5.50/Use.htm#PDF_switches
-dFirstPage=pagenumber
-dLastPage=pagenumber
-sPSFile=filename

Yours sincerely
Heiko <ober...@ruf.uni-freiburg.de>

PS:
>Content-Type: text/html; charset=us-ascii
Please no mime and no html.

0 new messages