cups can't locate gs

Mark m.j.p.benschop at tpgpost.nl
Mon Jun 26 07:15:03 PDT 2006


Hi All,

I'v compiled and installed cups 1.1.2 and espgs-7.07.1 on HPUX 11.i
I went mostly for the default option so I didn't set any --prefix of anything.
So cups is installed in /usr and espgs in /usr/local.

Now when I use the default laserjet.ppd that comes with cups I get the error :
=================================================
E [26/Jun/2006:16:07:27 -0100] Unable to convert file 0 to printable format for job 8!
I [26/Jun/2006:16:07:27 -0100] Hint: Do you have ESP Ghostscript installed?
=================================================
when i try to print a textfile.

I suspect the problem is that cups doesn't know where to find gs.

The reason is suspect that is that a) gs is not found and b) when I use another ppd that's not using ghostscript I see these lines :
=================================================
D [26/Jun/2006:14:58:53 -0100] StartJob: Sending job to queue tagged as raw...
D [26/Jun/2006:14:58:53 -0100] job-sheets=none,none
D [26/Jun/2006:14:58:53 -0100] banner_page = 0
D [26/Jun/2006:14:58:53 -0100] StartJob: argv = "gv029p68","3","mbenscho","(stdin)","1","","/var/spool/cups/d00003-001"
D [26/Jun/2006:14:58:53 -0100] StartJob: envp[0]="PATH=/usr/lib/cups/filter:/bin:/usr/bin"
D [26/Jun/2006:14:58:53 -0100] StartJob: envp[1]="SOFTWARE=CUPS/1.1"
D [26/Jun/2006:14:58:53 -0100] StartJob: envp[2]="USER=root"
D [26/Jun/2006:14:58:53 -0100] StartJob: envp[3]="CHARSET=iso-8859-1"
D [26/Jun/2006:14:58:53 -0100] StartJob: envp[4]="LANG=en"
D [26/Jun/2006:14:58:53 -0100] StartJob: envp[5]="TZ=MET-1METDST"
D [26/Jun/2006:14:58:53 -0100] StartJob: envp[6]="PPD=/etc/cups/ppd/gv029p68.ppd"
D [26/Jun/2006:14:58:53 -0100] StartJob: envp[7]="CUPS_SERVERROOT=/etc/cups"
D [26/Jun/2006:14:58:53 -0100] StartJob: envp[8]="RIP_MAX_CACHE=8m"
==================================================
stating the PATH that cups is using.

So I guess my questions are :
Am I right suspecting that cups doesn't look in /usr/local for gs ?
And when I am right is there a way to tell cups to look in /usr/local, preferably without recompiling everything ;-)

Thanks in advance for your reactions...




More information about the cups mailing list