From owner-freebsd-hardware@FreeBSD.ORG Mon Apr 3 01:57:57 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 219D216A420 for ; Mon, 3 Apr 2006 01:57:57 +0000 (UTC) (envelope-from security@yourdot-mail.com) Received: from jupiter.nswebhost.com (jupiter.nswebhost.com [66.246.252.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D32D743D6A for ; Mon, 3 Apr 2006 01:57:48 +0000 (GMT) (envelope-from security@yourdot-mail.com) Received: from 55-199.dial.nortenet.pt ([212.13.55.199]:35238 helo=[192.168.1.13]) by jupiter.nswebhost.com with esmtpa (Exim 4.52) id 1FQEKH-0002Ml-4y; Sun, 02 Apr 2006 20:57:53 -0500 Message-ID: <44308115.5090408@yourdot-mail.com> Date: Mon, 03 Apr 2006 02:57:41 +0100 From: Carlos Silva User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: "Jin Guojun [VFFS]" 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> In-Reply-To: <443072E3.6010805@lbl.gov> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - jupiter.nswebhost.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - yourdot-mail.com X-Source: X-Source-Args: X-Source-Dir: 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 01:57:57 -0000 hi, I've changed nothing in that files :(.. And I use the web GUI.. Best Regards, Carlos Silva, CSilva Web: http://www.csilva.org/ Jin Guojun [VFFS] escreveu: > Only a few configuration files can cause this (in /usr/local/etc/cups/): > > Have you modified mime.convs and mime.types files? > If so, is possible to use (revert back) the original configurations? > If you need to modify it/them, what have you changed? > > How did you configure the printer -- manually? or use Web GUI? > > Below is my simulation (via Web GUI) output -- for your reference -- > when set up printer: > I [02/Apr/2006:17:32:43 -0700] Setting HP1115 > printer-is-accepting-jobs to 1 (was 0.) > I [02/Apr/2006:17:32:43 -0700] Setting HP1115 printer-state to 3 (was 5.) > D [02/Apr/2006:17:32:43 -0700] add_printer: Copied PPD file successfully! > I [02/Apr/2006:17:32:43 -0700] Saving printers.conf... > I [02/Apr/2006:17:32:43 -0700] New printer 'HP1115' added by 'jin'. > D [02/Apr/2006:17:32:43 -0700] ProcessIPPRequest: 8 status_code=0 > D [02/Apr/2006:17:32:43 -0700] CloseClient: 8 > D [02/Apr/2006:17:32:47 -0700] ReadClient: 5 GET /printers/HP1115 > HTTP/1.1 > D [02/Apr/2006:17:32:47 -0700] CGI > /usr/local/libexec/cups/cgi-bin/printers.cgi started - PID = 1162 > I [02/Apr/2006:17:32:47 -0700] Started > "/usr/local/libexec/cups/cgi-bin/printers.cgi" (pid=1162) > print a test page > D [02/Apr/2006:17:32:59 -0700] StartJob: envp[14]="CUPS_SERVER=localhost" > D [02/Apr/2006:17:32:59 -0700] StartJob: envp[15]="IPP_PORT=631" > D [02/Apr/2006:17:32:59 -0700] StartJob: statusfds = [ 11 12 ] > D [02/Apr/2006:17:32:59 -0700] StartJob: filterfds[1] = [ 13 -1 ] > D [02/Apr/2006:17:32:59 -0700] StartJob: filter = > "/usr/local/libexec/cups/filter/pstopxl" > D [02/Apr/2006:17:32:59 -0700] StartJob: filterfds[0] = [ 14 15 ] > D [02/Apr/2006:17:32:59 -0700] > start_process("/usr/local/libexec/cups/filter/pstopxl", 0xbfbedb60, > 0xbfbeced0, 13, 15, 12) > I [02/Apr/2006:17:32:59 -0700] Started filter > /usr/local/libexec/cups/filter/pstopxl (PID 1164) for job 3. > D [02/Apr/2006:17:32:59 -0700] StartJob: backend = > "/usr/local/libexec/cups/backend/socket" > D [02/Apr/2006:17:32:59 -0700] StartJob: filterfds[1] = [ -1 13 ] > D [02/Apr/2006:17:32:59 -0700] > start_process("/usr/local/libexec/cups/backend/socket", 0xbfbedb60, > 0xbfbeced0, 14, 13, 12) > I [02/Apr/2006:17:32:59 -0700] Started backend > /usr/local/libexec/cups/backend/socket (PID 1168) for job 3. > D [02/Apr/2006:17:32:59 -0700] ProcessIPPRequest: 9 status_code=0 > D [02/Apr/2006:17:32:59 -0700] [Job 3] Running /usr/local/bin/espgs > -dQUIET -dDEBUG -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOMEDIAATTRS > -sDEVICE=pxlcolor -sstdout=%stderr -sOUTPUTFILE=%stdout > /var/spool/cups/d00003-001 > D [02/Apr/2006:17:32:59 -0700] CloseClient: 9 > D [02/Apr/2006:17:32:59 -0700] [Job 3] START 0 1394576 109214 1421640 > 132248 true 471 3 <0> > ... > E [02/Apr/2006:17:49:42 -0700] [Job 2] Unable to connect to printer > (retrying in 30 seconds): Operation timed out > ---------- of course, this error is due to no printer present --- > > Carlos Silva wrote: > >> hmm thanks for the post ... >> >> but do you have an idea how can I fix this? >> >> Best Regards, >> >>>> >>>>> my logs from the error are: >>>>> ..... (skipped) >>>>> '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' '-sIjsServer=hpijs' >>>>> '-sDeviceManufacturer=HEWLETT-PACKARD' '-sDeviceModel=PHOTOSMART >>>>> 1115' '-dDEVICEWIDTHPOINTS=595' '-dDEVICEHEIGHTPOINTS=842' >>>>> '-dDuplex=false' '-r300' >>>>> '-sIjsParams=Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2,PS:MediaPosition=7' >>>>> '-dIjsUseOutputFD' '-sOutputFile=/dev/fd/3' '/dev/fd/0' 3>&1 1>&2 >>>> >>>> >>>>> D [25/Mar/2006:23:37:55 +0000] [Job 7] **** Unable to open the >>>>> initial device, quitting. >>>>> D [25/Mar/2006:23:37:55 +0000] [Job 7] renderer return value: 1 >>>>> D [25/Mar/2006:23:37:55 +0000] [Job 7] renderer received signal: 1 >>>>> D [25/Mar/2006:23:37:55 +0000] [Job 7] tail process done writing >>>>> data to STDOUT >>>> >>>> >>> By looking closely, somewhere in filter configuration (mime.convs?) >>> is messed up. >>> >>> clause '-sOutputFile=/dev/fd/3' '/dev/fd/0' 3>&1 1>&2 >>> >>> means: to read data from stdin and send result to stderr (not >>> stdout, weird); >>> then, redirection says to redirect 3 (stderr) to 1 (stdin, even >>> weird), this loops; >>> and then redirect 1 (stdin) to 2 (stdout), thus input (stdin , 1) is >>> empty because >>> it is redirected to stdout (2) and all input are directly sent to >>> stdout (bypass the filter ???). >>> >