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:

[EMAIL PROTECTED] 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:

[EMAIL PROTECTED] 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:

[EMAIL PROTECTED] uname -a
FreeBSD Print.FStaals.LAN 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386

[EMAIL PROTECTED] 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:

[EMAIL PROTECTED] 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

[EMAIL PROTECTED] 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


_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to