From owner-freebsd-hardware@FreeBSD.ORG Mon Apr 3 04:50:55 2006 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B10716A401 for ; Mon, 3 Apr 2006 04:50:55 +0000 (UTC) (envelope-from j_guojun@lbl.gov) Received: from smtp114.sbc.mail.mud.yahoo.com (smtp114.sbc.mail.mud.yahoo.com [68.142.198.213]) by mx1.FreeBSD.org (Postfix) with SMTP id 95B8D43D49 for ; Mon, 3 Apr 2006 04:50:54 +0000 (GMT) (envelope-from j_guojun@lbl.gov) Received: (qmail 75616 invoked from network); 3 Apr 2006 04:50:54 -0000 Received: from unknown (HELO ?192.168.2.8?) (jinmtb@sbcglobal.net@68.127.175.93 with plain) by smtp114.sbc.mail.mud.yahoo.com with SMTP; 3 Apr 2006 04:50:53 -0000 Message-ID: <44309BF9.4020508@lbl.gov> Date: Sun, 02 Apr 2006 20:52:25 -0700 From: "Jin Guojun [VFFS]" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20051013 X-Accept-Language: zh, zh-CN, en MIME-Version: 1.0 To: Carlos Silva 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> In-Reply-To: <44309179.9070500@yourdot-mail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hardware@freebsd.org Subject: Re: cups X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Apr 2006 04:50:55 -0000 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: 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"