Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Nov 2005 12:16:14 +0100
From:      Frank Staals <frankstaals@gmx.net>
To:        questions@FreeBSD.org
Subject:   Printing problem with CUPS && LPD
Message-ID:  <4375CEFE.5060609@gmx.net>

next in thread | raw e-mail | index | archive | help
Hey,

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@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@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 I don't 
know how to fix it. I tried symlinking /dev/lp to /dev/ulpt0 but that 
wouldn't do the trick. I hope someone has an idea of what I'm doing wrong?

Here some additional information:

root@Print# uname -a
FreeBSD Print.FStaals.LAN 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov  3 
09:36:13 UTC 2005     root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC  
i386

root@Print# cat /etc/printcap
# This file was automatically generated by cupsd(8) from the
# /usr/local/etc/cups/printers.conf file.  All changes to this file
# will be lost.
HP1010|HP1010:rm=Print.FStaals.LAN:rp=HP1010:

root@Print# ps -aux | grep cups
root   1941  1.0  0.5  1436   584  p0  DL+  12:15PM   0:00.01 grep cups
root    586  0.0  1.0  4704  1208  ??  Ss   11:11AM   0:00.98 cupsd

root@Print# ps -aux | grep lpd
root    566  0.0  0.6  1260   716  ??  Is   11:09AM   0:00.04 lpd
root   1943  0.0  0.0   128     8  p0  R+   12:15PM   0:00.00 grep lpd 
(bash)

-------------

Thanks in advance


-- 
-Frank Staals





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4375CEFE.5060609>