From owner-freebsd-questions@FreeBSD.ORG Sat Nov 12 11:16:19 2005 Return-Path: X-Original-To: questions@FreeBSD.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 60AB716A41F for ; Sat, 12 Nov 2005 11:16:19 +0000 (GMT) (envelope-from frankstaals@gmx.net) Received: from smtp1.versatel.nl (smtp1.versatel.nl [62.58.50.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD9CE43D46 for ; Sat, 12 Nov 2005 11:16:18 +0000 (GMT) (envelope-from frankstaals@gmx.net) Received: (qmail 12755 invoked by uid 0); 12 Nov 2005 11:16:17 -0000 Received: from unknown (HELO [192.168.5.2]) ([62.59.173.176]) (envelope-sender ) by smtp1.versatel.nl (qmail-ldap-1.03) with SMTP for < >; 12 Nov 2005 11:16:17 -0000 Message-ID: <4375CEFE.5060609@gmx.net> Date: Sat, 12 Nov 2005 12:16:14 +0100 From: Frank Staals User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051015) X-Accept-Language: en-us, en MIME-Version: 1.0 To: questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Printing problem with CUPS && LPD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Nov 2005 11:16:19 -0000 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