From owner-freebsd-questions@freebsd.org Sat Apr 23 12:31:19 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 28D85B1A74E for ; Sat, 23 Apr 2016 12:31:19 +0000 (UTC) (envelope-from tijl@coosemans.org) Received: from mailrelay112.isp.belgacom.be (mailrelay112.isp.belgacom.be [195.238.20.139]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (Client CN "relay.skynet.be", Issuer "GlobalSign Organization Validation CA - SHA256 - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5B5FB1248 for ; Sat, 23 Apr 2016 12:31:16 +0000 (UTC) (envelope-from tijl@coosemans.org) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2CRCAAoahtX/4pJsVtVCYM4U32pJYUDi10BDYF1hg4CgSE5FAEBAQEBAQFlJ0EBAQEBAQEBBwICg28BAQQ6HCMQCw4KCSUPKh4GE4gVAxa/JAEBAQEBAQQBAQEBARuCIIhMgkGBVRGFbgEEh36HB4hZMYwfgWtvjiuHUIdfHgEBQoNtOjCBJ4MZEIIgggsBAQE Received: from 138.73-177-91.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([91.177.73.138]) by relay.skynet.be with ESMTP; 23 Apr 2016 14:30:02 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.15.2/8.15.2) with ESMTP id u3NCU0mi002360; Sat, 23 Apr 2016 14:30:01 +0200 (CEST) (envelope-from tijl@coosemans.org) Date: Sat, 23 Apr 2016 14:29:59 +0200 From: Tijl Coosemans To: Manish Jain Cc: freebsd-questions@freebsd.org, guru@unixarea.de Subject: Re: Does HP DeskJet 1112 work with lpd on FreeBSD 10.2 amd64 ? Message-ID: <20160423142959.2d0093a4@kalimero.tijl.coosemans.org> In-Reply-To: References: <20160420112203.3244f4ea@kalimero.tijl.coosemans.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Apr 2016 12:31:19 -0000 On Sat, 23 Apr 2016 17:47:33 +0530 Manish Jain wrote: > On 04/20/16 14:52, Tijl Coosemans wrote: >> On Tue, 19 Apr 2016 18:42:01 +0530 Manish Jain wrote: >>>> CUPS works nice for many years on my FreeBSD systems, actually CURRENT. >>>> Why you can't get it to do anything on your system? matthias >>> >>> Thanks for responding. So my question becomes "Has anyne got HP DeskJet >>> 1112 to work with CUPS on a FreeBSD 10.2 amd64 box ?" >> You need to install print/hplip. Then you can either use the graphical >> setup tool HP Device Manager, or the CUPS web interface at >> http://localhost:631/. If you use the CUPS interface you need to select >> the printer model at some point. Your printer will be listed as >> "HP Deskjet 1110 Series, hpcups 3.16.2". > > This is what I get when I try to open up the cups web interface in my > browser even after installing apache24 : > >> Chromium's connection attempt to*localhost*was rejected > > What could I be missing here ? hplip package was installed, along with > all its dependencies. > > This is what I get in dmesg : > > ulpt0: on usbus2 > ulpt0: using bi-directional mode > > So the printer is being detected, just as you stated. A little bit more > help, and I could fire up my printout page. Perhaps something to do with > httpd.conf ? Or perhaps /usr/local/etc/cups/cupsd.conf ? Is the CUPS daemon actually running? Add cupsd_enable="YES" to /etc/rc.conf and run 'service cupsd start'. Also, CUPS uses its own http server so you don't need Apache.