Printing problem with CUPS && LPD

Garance A Drosihn drosih at
Sat Nov 12 14:26:57 GMT 2005

At 12:16 PM +0100 11/12/05, Frank Staals wrote:
>I have a HP LaserJet 1010 and I was trying to get it working with
>FreeBSD, so I installed CUPS and configured it to recoginize the
>printer and it does, I can successfully print a testpage using the
>webinterface. So I was trying to print a file from commandline
>with lpr, but there is something weird. This is the ouput of lpstat:
>root at Print# lpstat -p -v -d
>printer HP1010 is idle.  enabled since Jan 01 00:00
>        CUPS v1.1.23 is ready to print.
>device for HP1010: usb:/dev/ulpt0
>system default destination: HP1010
>but when I try printing a file using the command:
>root at Print# lpr -PHP1010 /etc/motd
>this shows up at my dmesg :
>Nov 12 12:05:16 Print lpd[1905]: /dev/lp: No such file or directory
>LPD is trying to print to /dev/lp instead of /dev/ulpt0, but ...

Does CUPS install its own version of `lpr'?  I suspect it does.
See if you have a /usr/local/bin/lpr in addition to /usr/bin/lpr.
If you do, then see if that version of lpr works.

What you probably need to do is remove /usr/bin/lpr, or make it
into a symlink to /usr/local/bin/lpr.  You would also want to
add to /etc/make.conf a line something like:


Garance Alistair Drosehn            =   gad at
Senior Systems Programmer           or  gad at
Rensselaer Polytechnic Institute    or  drosih at

More information about the freebsd-questions mailing list