From owner-freebsd-ports@FreeBSD.ORG Tue Jul 18 00:04:35 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 964C816A610 for ; Tue, 18 Jul 2006 00:04:35 +0000 (UTC) (envelope-from john_m_cooper@yahoo.com) Received: from smtp107.biz.mail.re2.yahoo.com (smtp107.biz.mail.re2.yahoo.com [206.190.52.176]) by mx1.FreeBSD.org (Postfix) with SMTP id 3114243D58 for ; Tue, 18 Jul 2006 00:04:29 +0000 (GMT) (envelope-from john_m_cooper@yahoo.com) Received: (qmail 72090 invoked from network); 18 Jul 2006 00:04:28 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=VPh0A03F8KZbDUcldjtCHibbzj9blgZVkMKx/mVnvy9faaue2Wb+nC29sBxHptzkFcXrK3ODQHGVwZ9FARcMJYSfJm2C9ttwTD4B+Iv85exR/oHPR6HmjwDq2GfjlI6mRcUN7x+tgo+0YrnR+z4VMK5dlqqHg+htQrDDE0D3CWg= ; Received: from unknown (HELO borgdemon2.clspco.adelphia.net) (j.m.cooper@borgsdemons.com@65.210.58.3 with login) by smtp107.biz.mail.re2.yahoo.com with SMTP; 18 Jul 2006 00:04:28 -0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) by borgdemon2.clspco.adelphia.net (Postfix) with ESMTP id AD0625C5D; Mon, 17 Jul 2006 20:04:22 -0400 (EDT) Message-ID: <44BC2586.8080400@yahoo.com> Date: Mon, 17 Jul 2006 20:04:22 -0400 From: John Merryweather Cooper User-Agent: Thunderbird 1.5.0.4 (X11/20060617) MIME-Version: 1.0 To: Anthony Agelastos References: <379F8941-A4E8-4583-810B-BC9F0D8397F9@gmail.com> <44BA9142.4040201@FreeBSD.org> <44BAF121.5030805@yahoo.com> <438656BC-A148-447A-A4F2-2C3DD422340F@gmail.com> <44BB01B2.1070303@yahoo.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "E. J. Cerejo" , DougB@FreeBSD.org, asa@agava.com, amistry@am-productions.biz, freebsd-ports@freebsd.org Subject: Re: hpijs/hplip, foomatic-rip, and CUPS 1.2.0 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jul 2006 00:04:35 -0000 Anthony Agelastos wrote: > On Jul 16, 2006, at 11:19 PM, John Merryweather Cooper wrote: > >> Anthony Agelastos wrote: >>> >>> On Jul 16, 2006, at 10:08 PM, John Merryweather Cooper wrote: >>> >>>> Anthony Agelastos wrote: >>>>> On Jul 16, 2006, at 3:19 PM, Doug Barton wrote: >>>>>> For future reference, please don't post to both -ports and >>>>>> -questions. >>>>> >>>>> Thank you for this clarification. >>>>> >>>>>> Anthony Agelastos wrote: >>>>>>> Does anyone out there have network printing working with >>>>>>> hpijs/hplip and >>>>>>> CUPS 1.2.0? >>>>>> >>>>>> Yes. You need to follow the instructions at >>>>>> file:///usr/local/share/doc/hplip-0.9.11/install/step4/cups/net.html >>>>> >>>>> I do not think I explained my situation very well. This printer >>>>> (hp LaserJet 1160Le) is connected directly to my FreeBSD server >>>>> via USB. If I print something logged on the server (via lp for >>>>> instance), it prints. I wish to print to this printer from all of >>>>> the computers on my LAN. When I try to print something from one of >>>>> these computers, that is when it bombs and displays the >>>>> foomatic-rip error message (foomatic-rip failed). >>>>> >>>>> The directions on that sheet appear to be if I wanted to print to >>>>> this network printer that wasn't directly connected to the FreeBSD >>>>> server. Am I mistaken about this? Also, there is no button on the >>>>> printer that will print such a page, so I would have to figure out >>>>> how to find this IP address by other means. I cannot see how to >>>>> find it in the CUPS web interface. I assume CUPS issues it an IP >>>>> address. >>>>> >>>>> The error_log that I have posted on previous threads is attached >>>>> to this email (the successful print jobs were done locally while >>>>> the error occurred when I printed to the printer from my MacBook >>>>> Pro). Does anyone have any suggestions? I should note that prior >>>>> to the CUPS upgrade to 1.2.0 (and the recent gnutls update), my >>>>> setup was working (I was able to print from the server itself as >>>>> well as all of the rest of the computers on my LAN). I have >>>>> rebuilt all packages several times (except for the OS). >>>>> >>>>> >>>>> On my MacBook Pro, when I go to the CUPS web interface, I see the >>>>> following for the printer: >>>>> hp_LaserJet_1160Le@192.168.0.3 HP LaserJet 1160 Foomatic/hpijs >>>>> (recommended) Description: hp LaserJet 1160Le >>>>> Location: Den >>>>> Printer State: idle, accepting jobs. >>>>> >>>>> 192.168.0.3 is the IP address of my FreeBSD server on my LAN. It >>>>> looks as if Mac OS X 10.4.7 runs CUPS 1.1.23, but I could be >>>>> mistaken. It has found the printer through Bonjour (zeroconf I >>>>> believe is another name for it), so I didn't have to do any >>>>> configuring. Could there be an incompatibility within these >>>>> versions of CUPS? I have found the following page which lists >>>>> several issues and talks about how CUPS 1.2.0 is broken in several >>>>> places. Could one of these be the issue? >>>>> >>>>> http://www.bsdforums.org/forums/showthread.php?t=42391 >>>>> >>>>>> >>>>>>> On a sidenote, I was having difficulties installing hpijs when >>>>>>> hplip was >>>>>>> already installed >>>>>> >>>>>> I'm working on that. >>>>> Thank you for your assistance on this. >>>>>> >>>>>> Doug >>>>>> >>>>>> -- This .signature sanitized for your protection >>>>>> >>>>> >>>>> ------------------------------------------------------------------------ >>>>> >>>>> >>>>> _______________________________________________ >>>>> freebsd-ports@freebsd.org mailing list >>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-ports >>>>> To unsubscribe, send any mail to >>>>> "freebsd-ports-unsubscribe@freebsd.org" >>>> You need to restart CUPS when the printer "attaches" via USB or >>>> else CUPS won't know about the USB port and you'll get this error >>>> every time. >>> >>> I just did a /usr/local/etc/rc.d/cupsd restart and then printed >>> something from my laptop. Same error. >>> dell# lpstat -t >>> scheduler is running >>> no system default destination >>> device for Create_PDF: cups-pdf:/ >>> device for hp_LaserJet_1160Le: /dev/ulpt0 >>> Create_PDF accepting requests since Sun Jun 25 11:27:52 2006 >>> hp_LaserJet_1160Le accepting requests since Sun Jul 16 22:36:15 2006 >>> printer Create_PDF is idle. enabled since Sun Jun 25 11:27:52 2006 >>> printer hp_LaserJet_1160Le is idle. enabled since Sun Jul 16 >>> 22:36:15 2006 >>> /usr/local/libexec/cups/filter/foomatic-rip failed >>> hp_LaserJet_1160Le-30 iqgrande 7168 Sun Jul 16 22:36:02 >>> 2006 >>> >>> >>>> >>>> jmc >>> >>> >> What are the permissions/ownership on /dev/ulpt0? >> >> jmc > > %ls -l /dev/ulpt0 > crw-rw---- 1 root cups 0, 68 Jul 16 22:36 /dev/ulpt0 > > > Same as I have. CUPS works for me if I restart it after the USB printer attaches. If I don't restart it, then I get the same error you're reporting. jmc