From owner-freebsd-questions@FreeBSD.ORG Sat Nov 12 14:26:57 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 C9CF916A41F for ; Sat, 12 Nov 2005 14:26:57 +0000 (GMT) (envelope-from drosih@rpi.edu) Received: from smtp1.server.rpi.edu (smtp1.server.rpi.edu [128.113.2.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E9E143D49 for ; Sat, 12 Nov 2005 14:26:57 +0000 (GMT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp1.server.rpi.edu (8.13.0/8.13.0) with ESMTP id jACEQtbv020965; Sat, 12 Nov 2005 09:26:56 -0500 Mime-Version: 1.0 Message-Id: In-Reply-To: <4375CEFE.5060609@gmx.net> References: <4375CEFE.5060609@gmx.net> Date: Sat, 12 Nov 2005 09:26:53 -0500 To: Frank Staals , questions@freebsd.org From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-CanItPRO-Stream: default X-RPI-SA-Score: undef - spam-scanning disabled X-Scanned-By: CanIt (www . canit . ca) on 128.113.2.1 Cc: Subject: Re: 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 14:26:57 -0000 At 12:16 PM +0100 11/12/05, Frank Staals wrote: >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 ... 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: NO_LPR=yes -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu