From owner-freebsd-questions@freebsd.org Sun Apr 24 05:34:58 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 73D1CB19585 for ; Sun, 24 Apr 2016 05:34:58 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from BLU004-OMC2S14.hotmail.com (blu004-omc2s14.hotmail.com [65.55.111.89]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2F4BC1946 for ; Sun, 24 Apr 2016 05:34:57 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from BLU436-SMTP169 ([65.55.111.73]) by BLU004-OMC2S14.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Sat, 23 Apr 2016 22:33:50 -0700 X-TMN: [VLB/RMAooZMFL2ZSX1RlJS9WaOvNUdjH] X-Originating-Email: [bourne.identity@hotmail.com] Message-ID: Subject: Re: Does HP DeskJet 1112 work with lpd on FreeBSD 10.2 amd64 ? To: Polytropon References: <20160420112203.3244f4ea@kalimero.tijl.coosemans.org> <20160423143300.40d7c478@kalimero.tijl.coosemans.org> <20160423190136.e92c98e3.freebsd@edvax.de> CC: freebsd-questions@freebsd.org From: Manish Jain Date: Sun, 24 Apr 2016 11:02:38 +0530 User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <20160423190136.e92c98e3.freebsd@edvax.de> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 160423-1, 24-04-2016), Outbound message X-Antivirus-Status: Clean X-OriginalArrivalTime: 24 Apr 2016 05:33:48.0023 (UTC) FILETIME=[E0398870:01D19DEA] 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: Sun, 24 Apr 2016 05:34:58 -0000 On Sat, 23 Apr 2016 19:40:28 +0530, Manish Jain wrote: >> My /etc/rc.conf does have : >> >> cupsd_enable="YES" >> >> So I presume cupsd is getting started at boot time. > Don't presume. Verify. :-) > > > >> This is what I have in /usr/local/etc/cups/cupsd.conf : >> >> LogLevel info >> >> # Administrator user group... >> SystemGroup wheel >> >> # Listen for connections on Port 631. >> Port 631 >> #Listen localhost:631 >> Listen /var/run/cups.sock > > Those lines should probably be the following: > > Listen localhost:631 > Listen /var/run/cups.sock > > That's probably the reason why you cannot access the CUPS web interface. > Keep in mind there are also CLI tools: lpadmin, cupsenable, cupsaccept > and so on. > > I got a HP Deskjet F380 all-in-one working with CUPS few years ago, and > all components (even the scanner) work. Make sure CUPS is actually really > running. There's also a /var/log/cups directory with log files where you > can check the events. > > > Hi Polytropon, Thanks for replying. You are right. cupsd is not starting. At boot time, I get a message like : /etc/rc : Failed to start cupsd Warning : failed to read /usr/local/etc/cups/cupsd.conf I will try and fix this on my own, but may need some more help from you if my efforts alone are not enough. Regards Manish Jain