[cups.general] Telling CUPS where gs is?

Klaus Singvogel kssingvo at suse.de
Tue Dec 7 08:12:08 PST 2004


Helge Blischke wrote:
> Andrew McCall wrote:
> > 
> > **********************************************************************
> > This email and any files transmitted with it are confidential and
> > intended solely for the use of the individual or entity to whom they
> > are addressed. If you have received this email in error you must delete
> > it and notify the system manager (e-mail: postmaster at oldham.gov.uk).
> > **********************************************************************
> > Hi Folks,
> > 
> > I am having a problem with a non-postcript printer.  Whenever I print
> > anything the jobs get cancelled straight away.  After turning debugging on I
> > found that its because CUPS can't call gs:
> > 
> > E [07/Dec/2004:10:48:00 +0000] Unable to convert file 0 to printable format
> > for job 38!
> > I [07/Dec/2004:10:48:00 +0000] Hint: Do you have ESP Ghostscript installed?
> > 
> > I am running on Solaris 9, and espgs is installed top /opt/sfw/espgs/bin/gs,
> > but CUPS doesn't seem to see this.  I have tried creating a symbolic link
> > from /opt/sfw/espgs/bin/gs to /usr/bin/gs and /usr/bin/local/gs, but CUPS
> > still comes back with the above error.
> > 
> > Where does CUPS expect gs to be?  How can I tell CUPS that gs is actually in
> > /opt/sfw/espgs/bin/gs?
> > 
> > Thanks in advance!
> > 
> > Andrew McCall
> 
> Look at your CUPS installation parameters. If the installation
> prefix is empty, put gs into /bin,
> if the prefix is, e.g. /usr/local, put gs into /usr/local/bin.

Helge Thanks for your ongoing and always present support.

But this time, I think its better to modify $PATH in the foomatic
filter to his environment. :-) 

Andrew, locate your foomatic script (maybe something like this:
/usr/lib/cups/filter/foomatic-rip) and edit it. Add
"/opt/sfw/espgs/bin" (without "-signs) to the path variable $execpath,
which is separate by colon signs ':'. Dont forget to keep a copy
of foomatic-rip, just in any case. :-)

Best regards,
	Klaus.
-- 
Klaus Singvogel
SUSE LINUX Products GmbH
Maxfeldstr. 5                     E-Mail: Klaus.Singvogel at SuSE.de
90409 Nuernberg                   Phone: +49 (0) 911 740530
Germany                           GnuPG-Key-ID: 1024R/5068792D  1994-06-27





More information about the cups mailing list