FAQ

[CentOS] Ghostscript in 5.3

Mark Hull-Richter
May 6, 2009 at 9:24 pm
Ever since I updated to 5.3, I have been unable to convert any ps
files to pdfs using the ps2pdf command. I usually get errors like
this:

[mhr at mhrichter forms]$ ps2pdf doe81008
ERROR: /undefinedfilename in (doe81008)
Operand stack:

Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stopped_push --nostringval--
--nostringval-- --nostringval-- false 1 %stopped_push
Dictionary stack:
--dict:1120/1686(ro)(G)-- --dict:0/20(G)-- --dict:102/200(L)--
Current allocation mode is local
Last OS error: 2
ESP Ghostscript 815.02: Unrecoverable error, exit code 1

I can print the ps file just fine, but I wanted to save it in pdf
format instead of ps format, and that's not working.

I can use my VM WinXP machine and Adobe Photoshop Elements to do this,
but I prefer not having to fire up the VM for this.

Anyone else seeing problems like this?

Thanks.

mhr
reply

Search Discussions

3 responses

  • Frank Cox at May 6, 2009 at 9:47 pm

    On Wed, 06 May 2009 14:24:56 -0700 MHR wrote:

    Anyone else seeing problems like this?
    No.

    I use ps2pdf to convert files on Centos 5.3 several dozen times every week and
    haven't discovered any issues yet.

    Are you sure your input files are correct?

    --
    MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
  • Mogens Kjaer at May 7, 2009 at 6:05 am

    MHR wrote:
    Ever since I updated to 5.3, I have been unable to convert any ps
    files to pdfs using the ps2pdf command. I usually get errors like
    this:

    [mhr at mhrichter forms]$ ps2pdf doe81008
    ERROR: /undefinedfilename in (doe81008)
    Does the file doe81008 exist?

    If you have a doe81008.ps file that needs to
    be converted to doe81008.pdf, write:

    $ ps2pdf doe81008.ps doe81008.pdf

    Mogens

    --
    Mogens Kjaer, Carlsberg A/S, Computer Department
    Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
    Phone: +45 33 27 53 25, Mobile: +45 22 12 53 25
    Email: mk at crc.dk Homepage: http://www.crc.dk
  • Mark Hull-Richter at May 7, 2009 at 8:50 am
    [SOLVED!]
    On Wed, May 6, 2009 at 11:05 PM, Mogens Kjaer wrote:
    MHR wrote:
    Ever since I updated to 5.3, I have been unable to convert any ps
    files to pdfs using the ps2pdf command. ?I usually get errors like
    this:

    [mhr at mhrichter forms]$ ps2pdf doe81008
    ERROR: /undefinedfilename in (doe81008)
    Does the file doe81008 exist?

    If you have a doe81008.ps file that needs to
    be converted to doe81008.pdf, write:

    $ ps2pdf doe81008.ps doe81008.pdf
    Oh, crap! I have so many scripts and aliases that I routinely use to
    simplify commands like this, I forgot that I _don't_ have (or need)
    one for this!

    ps2pdf doe81008.ps works just fine.

    Mea maxima culpa! Oy, vey!

    Many thanks, Mogens.

    mhr

Related Discussions

Discussion Navigation
viewthread | post