From owner-freebsd-questions@FreeBSD.ORG Thu Aug 4 07:58:17 2005 Return-Path: X-Original-To: freebsd-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 B8A3716A41F for ; Thu, 4 Aug 2005 07:58:17 +0000 (GMT) (envelope-from daniel@stiw.org) Received: from smtp.conceptual.net.au (grimiore.conceptual.net.au [203.190.192.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id E980643D45 for ; Thu, 4 Aug 2005 07:58:16 +0000 (GMT) (envelope-from daniel@stiw.org) Received: from spock.enterprise.prvt (202-137-107-088.adsl.usertools.net [202.137.107.88]) by smtp.conceptual.net.au (Postfix) with ESMTP id 8D2A113930; Thu, 4 Aug 2005 15:58:13 +0800 (WST) Date: Thu, 04 Aug 2005 15:58:11 +0800 From: "Daniel Marsh" To: "Graham North" , "questions freebsd" References: <42F16BAE.7040600@shaw.ca> Message-ID: Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit In-Reply-To: <42F16BAE.7040600@shaw.ca> User-Agent: Opera M2/8.02 (Win32, build 7680) Cc: Subject: Re: printing problems with CUPS on localhost server 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: Thu, 04 Aug 2005 07:58:17 -0000 On Thu, 04 Aug 2005 09:13:18 +0800, Graham North wrote: > I just set up my FreeBSD box to act as a printserver. I used CUPs and > Samba following great directions found here: > http://www.ajl-tech.com/index2.php?option=content&do_pdf=1&id=16 > > The printserver works very nicely printing jobs from my WinXP client to > an hp4l printer attached to Freebsd, however it will not print files > from itself using lpr. > > A bit of hunting found some "gotchas" at: > http://home.nyc.rr.com/computertaijutsu/cups.html ... and so I tried > adding symbolic links for the lp and lpr commands as per the author's > recommendations - see bottom of email. > > The problem still exists however, now instead of getting error messages, > if I issue a "lpr filename" command, my printer gives a quick blink, no > errror messages are generated, but neither is printer output - nada! > > Repeat - Samba and Cups work together fine on this elderly hp4l - print > all sorts from Windows. Just cannot access from the server itself. > I am sure that this is a simple configuration issue somewhere - > > my printcap definition, ie: hp4l|lp|hp4l:rm=192.168.0.102:rp=hp4l: > ps. This was auto-generated from CUPs and oirignally was > "hp4l|hp4l:rm=192.168.0.102:rp=hp4l:" > (I later inserted the lp myself as CUPS does not, either way it doesn't > work.) > > Can anyone please point me straight on this? > Thanks, Graham/ Are you using the lpr that was installed with FreeBSD as part of the base or the lpr supplier by the cups-lpr package? FreeBSD base lpr is in /usr/bin|/usr/sbin and the cups-lpr is in /usr/local/bin|/usr/local/sbin...