cups, and hplip too, fail to recognize printer when I try to print

Patrick Hess patrickhess at gmx.net
Tue Jun 2 08:45:47 UTC 2015


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


More information about the freebsd-ports mailing list