For Programmers: Free Programming Magazines  


Home > Archive > PostScript > February 2008 > Still can't get ghostscript to run without pausing









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Still can't get ghostscript to run without pausing
laredotornado

2008-02-11, 7:24 pm

Hi,

Using GS 8.54 on Fedora Core 6 Linux. I want to run a ghostscript
command to convert my PDF to JPGs in one fell swoop. However, I
noticed running the command, after processing each page, GS would stop
and ask me to hit return to continue. Following Dan Coby's advice, I
tried this, but to no avail ...


[me@mymachine]~/savetownlake/austinsaveladybirdlake.org% gs -
sDEVICE=jpeg -sOutputFile=output%d.jpg STL_Letter.pdf -c -dBATCH -quit
AFPL Ghostscript 8.54 (2006-05-17)
Copyright (C) 2005 artofcode LLC, Benicia, CA. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 4.
Page 1[color=darkred]

Page 2[color=darkred]

Page 3[color=darkred]

Page 4[color=darkred]

[me@mymachine]~/savetownlake/austinsaveladybirdlake.org%



How can I eliminate this ">>showpage, press <return> to continue<<"?
Thanks, - Dave
ThomasW

2008-02-11, 7:24 pm

On 11 Feb., 22:15, laredotornado <laredotorn...@zipmail.com> wrote:
> Hi,
>
> Using GS 8.54 on Fedora Core 6 Linux. I want to run a ghostscript
> command to convert my PDF to JPGs in one fell swoop. However, I
> noticed running the command, after processing each page, GS would stop
> and ask me to hit return to continue. Following Dan Coby's advice, I
> tried this, but to no avail ...
>
> [me@mymachine]~/savetownlake/austinsaveladybirdlake.org% gs -
> sDEVICE=jpeg -sOutputFile=output%d.jpg STL_Letter.pdf -c -dBATCH -quit
> AFPL Ghostscript 8.54 (2006-05-17)
> Copyright (C) 2005 artofcode LLC, Benicia, CA. All rights reserved.
> This software comes with NO WARRANTY: see the file PUBLIC for details.
> Processing pages 1 through 4.
> Page 1
>
>
> Page 2
>
>
> Page 3
>
>
> Page 4
>
>
> [me@mymachine]~/savetownlake/austinsaveladybirdlake.org%
>
> How can I eliminate this ">>showpage, press <return> to continue<<"?
> Thanks, - Dave


Forgot the -dNOPAUSE switch?
laredotornado

2008-02-12, 7:17 pm

On Feb 11, 3:40=A0pm, ThomasW <x.zupf...@web.de> wrote:
> On 11 Feb., 22:15,laredotornado<laredotorn...@zipmail.com> wrote:
>
>
>
>
>
>
>
it[color=darkred]
>
>
>
>
>
>
>
>
>
>
> Forgot the -dNOPAUSE switch?- Hide quoted text -
>
> - Show quoted text -


I tried that, but it still didn't pause

gs -sDEVICE=3Djpeg -sOutputFile=3Doutput%d.jpg STL_Letter.pdf -c -dNOPAUSE
-dBATCH -quit

Does it pause for you? - Dave
Helge Blischke

2008-02-12, 7:17 pm

laredotornado wrote:
> On Feb 11, 3:40 pm, ThomasW <x.zupf...@web.de> wrote:
>
>
>
> I tried that, but it still didn't pause
>
> gs -sDEVICE=jpeg -sOutputFile=output%d.jpg STL_Letter.pdf -c -dNOPAUSE
> -dBATCH -quit
>
> Does it pause for you? - Dave


As Ghostscript evaluates the command line parameters in sequence, try to
move the "-dNOPAUSE" before the file to process. The same applies to "-dBATCH".

Helge

--
Helge Blischke
Softwareentwicklung

H.Blischke@acm.org
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com