From owner-freebsd-ports@FreeBSD.ORG Tue Jun 2 08:45:47 2015 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D3C038D8 for ; Tue, 2 Jun 2015 08:45:47 +0000 (UTC) (envelope-from patrickhess@gmx.net) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5962F1FED for ; Tue, 2 Jun 2015 08:45:46 +0000 (UTC) (envelope-from patrickhess@gmx.net) Received: from desk8.phess.net ([95.88.11.237]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0LcnRD-1ZPNaw1wNr-00k9EK; Tue, 02 Jun 2015 10:45:37 +0200 From: Patrick Hess To: freebsd-ports@freebsd.org Cc: Thomas Mueller Subject: Re: cups, and hplip too, fail to recognize printer when I try to print Date: Tue, 02 Jun 2015 10:45:35 +0200 Message-ID: <4321846.9hHPBs9sCR@desk8.phess.net> User-Agent: KMail/4.14.2 (FreeBSD/10.1-RELEASE; KDE/4.14.2; i386; ; ) In-Reply-To: <263570.73680.bm@smtp114.sbc.mail.ne1.yahoo.com> References: <263570.73680.bm@smtp114.sbc.mail.ne1.yahoo.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:j6Ug50XabHrt1VJJn/k00hdtL6rPI8FQTC/SE/Q+VXwDS21AFGE a7j97whvkaEapPcx9srL5DLT/e0IoXL+fDGiTi/2QB0Q800nDnOzKgxTYcMpdjh33b3pbJf 1sczjOw9eOIGsasOPfFTbQJy/GsbmnTYGkBqT20M2HywNi13zfX1aJM7EJY28pJjE2vOdzq a5F794D89ZfpCIaFpUieA== X-UI-Out-Filterresults: notjunk:1;V01:K0:hUDhWpgKqeI=:BB8Ts4NLydhytqymNdzGYH V6SS0vVSlhPr4IKGe78sgUGUuI6ITqiM61zxlZW5sitB32d2wu8ubZXp2pv+4ZIieuaxEZtjx L5UTsDUXQol7l5lkGEcXBWSAxOefX1WcZcsK+ReUbnxdlOTU963goYyHStB3SBUW3UXYj6vDu lUOwrEmLQaJ8cL3MiKBDh3TD2aLDWEaaatBLDQvzYpAfO5a5j13ChzNelhHnpEB+XZQKoO1/g RQznde+/yVsCC91K2QUFleSThmJD0Epg5FQtKDFxl1To8zEq7ZptCp1sIhn1yxXGvavLeOj8+ cUv6/7Usy9ufV6oD+fqM7vtPdxKjoms69AT9RUQ2uuDcfGn/3eloXYTTEaenFok++zzcaZkwI akFJ35Rd0ymsRCxiZRlg6s9tBUAA3rn1tBf06NlZ94NzrYFhPnrchm+tV+O2rKNkHpz+6g2/3 PZIOmBS2RthifJNAWLZGRoZhUia5QPsjHfQ00DY3iawZzRjkmTG+UX4zX2as7NepUAnptip5I 7j/tl8HMONQujo7NQ7ohRXaS3MGnuRtsiAokSgkX+sYccykxZ8KNE8MIG5oVqE3kBIF6BBTjP V8dDImwIh/befBgTgzH+69gekjSrqhVRlof6jBAXMpF/fvuR31mw2PXaH4cKeItgMM0k+RPLS DBO+GDzBDvx2Dq9PSv1XUXg+3M0HpWZOfJZB23xlxyWV3QuFjUtKZPNUitdyjZgJuG8g= X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jun 2015 08:45:47 -0000 Thomas Mueller wrote: > I have printer, HP_LaserJet_Professional_M1212nf_MFP, seem to have set > it up with cups [...] > > lpr: lp: unknown printer Be aware that after installing CUPS you will find two incompatible lpr binaries on your system: /usr/bin/lpr, which belongs to the base system, and /usr/local/bin/lpr, the one that comes with CUPS. Unless you changed your $PATH to include /usr/local/bin before /usr/bin, you are still calling /usr/bin/lpr (use "which lpr" to confirm this). The same goes for /usr/bin/lp vs. /usr/local/bin/lp. So just try using the full path for /usr/local/bin/lpr and see if that does the trick. Patrick