Date: Sun, 02 Apr 2006 20:52:25 -0700 From: "Jin Guojun [VFFS]" <j_guojun@lbl.gov> To: Carlos Silva <security@yourdot-mail.com> Cc: freebsd-hardware@freebsd.org Subject: Re: cups Message-ID: <44309BF9.4020508@lbl.gov> In-Reply-To: <44309179.9070500@yourdot-mail.com> References: <442DFEE5.4040407@yourdot-mail.com> <442E82F2.8040702@bah.homeip.net> <442EACAF.4010606@yourdot-mail.com> <442EAEF1.5050307@bah.homeip.net> <442EB292.1000007@yourdot-mail.com> <442F15C6.4070409@lbl.gov> <442F1698.5050500@yourdot-mail.com> <442F1DB5.8090003@lbl.gov> <442F1EE3.8050904@yourdot-mail.com> <442F2251.8010205@lbl.gov> <442F6234.4010403@lbl.gov> <442F660D.3080908@yourdot-mail.com> <443072E3.6010805@lbl.gov> <44308115.5090408@yourdot-mail.com> <443075EE.5030607@lbl.gov> <443085B6.7080501@yourdot-mail.com> <44307BAE.7080503@lbl.gov> <44308C4A.8020204@yourdot-mail.com> <44307F64.6000002@lbl.gov> <44309179.9070500@yourdot-mail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44309BF9.4020508>