From owner-freebsd-questions Wed Jun 25 07:43:57 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id HAA26139 for questions-outgoing; Wed, 25 Jun 1997 07:43:57 -0700 (PDT) Received: from dfw-ix16.ix.netcom.com (dfw-ix16.ix.netcom.com [206.214.98.16]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id HAA26133 for ; Wed, 25 Jun 1997 07:43:52 -0700 (PDT) Received: (from smap@localhost) by dfw-ix16.ix.netcom.com (8.8.4/8.8.4) id JAA23409 for ; Wed, 25 Jun 1997 09:43:13 -0500 (CDT) Received: from det-mi1-06.ix.netcom.com(199.183.194.38) by dfw-ix16.ix.netcom.com via smap (V1.3) id sma023388; Wed Jun 25 09:42:51 1997 Received: from main [199.183.194.38] by main [199.183.194.38] with SMTP (MDaemon.v2.5.rA.b1.32R) for ; Wed, 25 Jun 97 10:38:00 -0500 Message-Id: <3.0.1.32.19970625103758.0090f5a0@main> X-Sender: jerry@main (Unverified) X-Mailer: Windows Eudora Light Version 3.0.1 (32) Date: Wed, 25 Jun 1997 10:37:58 -0400 To: freebsd-questions@freebsd.org From: Jerry Bell Subject: lpr and 2.2.2 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-MDMail-Server: MDaemon v2.5 rA b1 32R X-MDaemon-Deliver-To: freebsd-questions@freebsd.org Reply-To: jerry@reillyplating.com Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk When I upgraded from 2.2.1 to 2.2.2, I lost the ability to print to my jet direct box. A message is logged from lpd saying '/dev/lp: No such file or directory'. I have the printcap file se to look something like this: laser|remote printer:\ :rm=copier:\ :rp=text:\ :sd=/var/log/output/copier:\ :lf=/var/log/lpd-errs: where copier is defined in the hosts file. I can successfully ping and telnet to copier (by referencing 'copier'). When I send something to 'lpr -Plaser', it just sits there. 'lpq -Plaser' produces: Warning: unable to get official name for local machine one Warning: no daemon present Rank Owner Job Files Then it lists all of the queue'd print jobs. On another UNIX system (and this one before I upgraded), 'lpq -Plaser' produced: JetDirect lpd: no entries I seems that lpd is trying to use the default lp value (/dev/lp) even when rm and rp are defined in printcap. If I stick a line like lp=/dev/null in printcap under the 'laser' printer definition, I don't get the message about '/dev/lp not found', and the print jobs are flushed (apparently through /dev/null). A few other notes: I have the IPDIVERT, and IPFIREWALL flags set, running in firewall mode. (don't really think it's a factor) Any help you can offer would be much appreciated. Thank you, Jerry Bell jerry@reillyplating.com