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@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
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?
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@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
[SOLVED!]
On Wed, May 6, 2009 at 11:05 PM, Mogens Kjaer mk@crc.dk 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@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