For Programmers: Free Programming Magazines  


Home > Archive > PostScript > May 2005 > ps2pdf with ghostscript on WinXP









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 ps2pdf with ghostscript on WinXP
sue

2004-07-11, 6:18 pm

I downloaded and installed ghostscript 8.14 (at least I think I did) but
when I try to execute the command "ps2pdf june27.ps", I'm getting the
response below - can anyone interpret and help out? Or point me to some
basics on how to accomplish converting a postscript file to pdf? I used to
use the website but it hasn't been available lately, so I'm going about it
this way.

Thanks - Sue

AFPL Ghostscript 8.14 (2004-02-20)
Copyright (C) 2004 artofcode LLC, Benicia, CA. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
GS>ps2pdf june27.ps
Error: /undefined in ps2pdf
Operand stack:

Execution stack:
%interp_exit
..runexec2 --nostringval-- --nostringval-- --nostringval-
- 2 %stopped_push --nostringval-- --nostringval-- %loop_continue
2
3 %oparray_pop --nostringval-- --nostringval-- false 1
%stopped_pus
h .runexec2 --nostringval-- --nostringval-- --nostringval-- 2
%stopp
ed_push --nostringval--
Dictionary stack:
--dict:1109/1686(ro)(G)-- --dict:0/20(G)-- --dict:70/200(L)--
Current allocation mode is local
Last OS error: No such file or directory
Current file position is 7
GS>



Fotis D. Zagoras

2004-07-11, 6:18 pm

sue wrote:

> I downloaded and installed ghostscript 8.14 (at least I think I did) but
> when I try to execute the command "ps2pdf june27.ps", I'm getting the
> response below - can anyone interpret and help out? Or point me to some
> basics on how to accomplish converting a postscript file to pdf? I used
> to use the website but it hasn't been available lately, so I'm going about
> it this way.
>
> Thanks - Sue
>
> AFPL Ghostscript 8.14 (2004-02-20)
> Copyright (C) 2004 artofcode LLC, Benicia, CA. All rights reserved.
> This software comes with NO WARRANTY: see the file PUBLIC for details.
> GS>ps2pdf june27.ps
> Error: /undefined in ps2pdf
> Operand stack:
>
> Execution stack:
> %interp_exit
> .runexec2 --nostringval-- --nostringval-- --nostringval-
> - 2 %stopped_push --nostringval-- --nostringval-- %loop_continue
> 2
> 3 %oparray_pop --nostringval-- --nostringval-- false 1
> %stopped_pus
> h .runexec2 --nostringval-- --nostringval-- --nostringval-- 2
> %stopp
> ed_push --nostringval--
> Dictionary stack:
> --dict:1109/1686(ro)(G)-- --dict:0/20(G)-- --dict:70/200(L)--
> Current allocation mode is local
> Last OS error: No such file or directory
> Current file position is 7
> GS>


In Linux the ps2pdf is itself an executable that calls ghostscript
interpreter. So the ps2pdf must be called directly from the OS command line
and NOT from the GS> prompt.
Thanks, Fotis.
wald

2004-07-11, 6:18 pm

"Fotis D. Zagoras" <oxygen60@lycos.com> wrote:

> sue wrote:
>
>
> In Linux the ps2pdf is itself an executable that calls
> ghostscript interpreter. So the ps2pdf must be called directly
> from the OS command line and NOT from the GS> prompt.
> Thanks, Fotis.


Same situation on Windows, ps2pdf should be used in a console
window, not on the GS> prompt.

Wald
leojose

2005-05-21, 4:21 am

quote:

Same situation on Windows, ps2pdf should be used in a console
window, not on the GS> prompt.



But where on a console window must be enter the ps2pdf?
Sponsored Links







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

Copyright 2009 codecomments.com