[cups.development] PATH for backend binaries ?

Markus.Grunwald at pruftechnik.com Markus.Grunwald at pruftechnik.com
Mon May 30 09:13:55 PDT 2005


Hello,

I am installing cups/esp-gs on an embedded linux device. Allready got it 
running as a pdf printer, but I have a little trouble with the path for 
the executables that are called by cups.
All cups/esp-gs files are located below /data/cups. When I want to print a 
testpage on the pdf printer, I get the follwing lines in my logfile:

D [10/Feb/1980:08:42:38 +0000] StartJob: argv = "PDF","2","root","Test 
Page","1","","/data/cups/var/spool/cups/d00002-001"
D [10/Feb/1980:08:42:38 +0000] StartJob: 
envp[0]="PATH=/data/cups/lib/cups/filter:/bin:/usr/bin"
[...]
D [10/Feb/1980:08:42:39 +0000] [Job 2] exec: ps2pdf12: No such file or 
directory

The file "ps2pdf12" is in "/data/cups/bin", so it can't be found by cups 
with the path setting from above.
I have no idea, how I can change this path setting. The shell's PATH 
includes /data/cups/bin but it seems that this path setting is ignored by 
cups...

I managed to get the pdf printer working by changing all calls from 
scripts to absolute paths, but this is only a hack. Setting the correct 
path for cups would be much better.

Could anyone help me ? 

Thanks,

Markus Grunwald
Softwareentwicklung

PRÜFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Straße 19-21
85737 Ismaning
www.pruftechnik.com
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200





More information about the cups-devel mailing list