From owner-freebsd-questions@FreeBSD.ORG Thu Dec 8 22:45:00 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 B28B116A41F for ; Thu, 8 Dec 2005 22:45:00 +0000 (GMT) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F47643D7B for ; Thu, 8 Dec 2005 22:44:47 +0000 (GMT) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.13.3/8.13.3) with ESMTP id jB8Miluh029073; Thu, 8 Dec 2005 15:44:47 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.13.3/8.13.3/Submit) with ESMTP id jB8Milgw029070; Thu, 8 Dec 2005 15:44:47 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Thu, 8 Dec 2005 15:44:47 -0700 (MST) From: Warren Block To: Dave Webster In-Reply-To: <1133930828.1092.9.camel@localhost> Message-ID: <20051208153846.H29033@wonkity.com> References: <1133930828.1092.9.camel@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (wonkity.com [127.0.0.1]); Thu, 08 Dec 2005 15:44:47 -0700 (MST) Cc: FreeBSD questions Subject: Re: HP 4M plus network printer question 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, 08 Dec 2005 22:45:00 -0000 On Tue, 6 Dec 2005, Dave Webster wrote: > I have a FBSD server/ router connected to a switch box off which is > another FBSD computer and an HP4M plus printer (JetDirect nic). Using > the "Handbook" LPD Simple Printer setup, I'm able to print from the > server using commands: lptest 20 5 | lpr -PHP4M and lpr -Plpps file.ps > So far so good. When I follow the instructions to print from the other > FBSD computer to this remote printer, I get nothing. > > The /etc/printcap on the server is: > # @(#)printcap 5.3 (Berkeley) 6/30/90 > # $FreeBSD: src/etc/printcap,v 1.14 2004/06/06 11:46:27 schweikh Exp $ > > lp|HP4M|local line printer:\ > :sh:sd=/var/spool/output/lpd:\ > :rm=HP4M:\ > :rp=text:\ > :if=/usr/local/libexec/ifhp > > lpps|HP4M|local line printer:\ > :sh:sd=/var/spool/output/lpd:\ > :rm=NPI1E4DCE.dwebman.com:\ > :rp=raw: > > The /etc/printcap on the other FBSD computer is: > # @(#)printcap 5.3 (Berkeley) 6/30/90 > # $FreeBSD: src/etc/printcap,v 1.14 2004/06/06 11:46:27 schweikh Exp $ > > > HP4M|hp|printer:\ > :lp=:rm=gateway:rp=HP4M:sd=/var/spool/lpd/hp: Check the lpd-errs log file on both machines, but here's a guess: Make sure that gateway's /etc/hosts has an entry for the client machine, and that the IP address or hostname of the client is in gateway's /etc/hosts.lpd file. -Warren Block * Rapid City, South Dakota USA