cups
Jin Guojun [VFFS]
j_guojun at lbl.gov
Mon Apr 3 04:50:55 UTC 2006
Carlos Silva wrote:
> osiris# cat HP-PhotoSmart_P1115-hpijs.ppd | grep cupsFilter
> *cupsFilter: "application/vnd.cups-postscript 0 foomatic-rip"
> osiris#
This is ok unless you have a file /usr/local/etc/foomatic/filter.conf,
or you modified foomatic-rip or ppd file (I guess you did not).
The problem is from the foomatic-gswrapper, which is invoked from
/usr/local/etc/foomatic/filter.conf
by setting either "execpath" in this file or PATH (path) to include
the path where foomatic-gswrapper lives. This could be a purpose for
involving hpijs, which I don't have -- see output at the end -- maybe not.
Below is the code in foomatic-rip to get foomatic-gswrapper involved:
# Get execution path from config file
$execpath = $conf{execpath} if defined $conf{execpath};
$ENV{'PATH'} = $execpath;
for (split(':', $ENV{'PATH'})) {
if (-x "$_/foomatic-gswrapper") {
$havewrapper=1;
last;
}
}
I think you are close to what you need to fix, and I probably will stop
here.
Good Luck!
-Jin
--------------
output from my box:
D [02/Apr/2006:20:30:59 -0700] [Job 7] renderer command: gs -q -dBATCH
-dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs
-sDeviceManufacturer="HEWLETT-PACKARD" -sDeviceModel="PHOTOSMART 1115"
-dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -dDuplex=false -r300
-sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2,PS:MediaPosition=7
-dIjsUseOutputFD -sOutputFile=- -
D [02/Apr/2006:20:30:59 -0700] [Job 7] JCL: <job data>
D [02/Apr/2006:20:30:59 -0700] [Job 7]
D [02/Apr/2006:20:30:59 -0700] [Job 7] hpijs: not found
D [02/Apr/2006:20:30:59 -0700] [Job 7] GNU Ghostscript 7.07: Can't start
ijs server "hpijs"
More information about the freebsd-hardware
mailing list