From owner-freebsd-questions Mon Jul 8 22: 5:27 2002 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 5BF6C37B400 for ; Mon, 8 Jul 2002 22:05:23 -0700 (PDT) Received: from sushi.sanyusan.se (h94n2fls31o283.telia.com [217.209.202.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4404443E09 for ; Mon, 8 Jul 2002 22:05:22 -0700 (PDT) (envelope-from anders@sushi.sanyusan.se) Received: from sushi.sanyusan.se (localhost [127.0.0.1]) by sushi.sanyusan.se (8.12.5/8.12.5) with ESMTP id g6954wmH074812; Tue, 9 Jul 2002 07:04:58 +0200 (CEST) (envelope-from anders@sushi.sanyusan.se) Received: (from anders@localhost) by sushi.sanyusan.se (8.12.5/8.12.5/Submit) id g6954vNv074811; Tue, 9 Jul 2002 07:04:57 +0200 (CEST) Date: Tue, 9 Jul 2002 07:04:57 +0200 From: Anders Andersson To: Warren Block Cc: Anders Andersson , freebsd-questions@FreeBSD.ORG Subject: Re: Printing via HP JetDirect EX Message-ID: <20020709050457.GB3461@sushi.sanyusan.se> References: <20020708220530.GA3461@sushi.sanyusan.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Jul 08, 2002 at 06:00:32PM -0600, Warren Block wrote: > You might try backing that up and, starting from a blank file, removing > the apsfilter stuff. In other words: > > > lp:\ > > :lp=:\ > > :rm=192.168.1.3:\ > > :rp=raw:\ > > :sd=/var/spool/lpd/lp:\ > > :lf=/var/log/lpd-errs:\ > > :mx#0:\ > > :sh: > > ..as the only thing in /etc/printcap. Note that I changed the logfile > entry--I don't know if there are file owner/rights implications for > logging to a separate file in the spool directory as compared to the > standard log file. Sorry, didnt mention this, but it's been tested already with the exact same result. > Check and see if lpd is really running (ps ax | grep lpd). If there's > an error anywhere in the printcap file, it'll exit on startup. Yes, of course I have checked this. 107 ?? Is 0:00.03 /usr/sbin/lpd lpq would also warn if you dont have any lpd running with 'Warning: no daemon present', but thats not the case for me. > That's not lpr/lpd printing, though. JetDirects have a (weak) > implementation of lpr/lpd, but they also will accept a port 9100 > connection that just accepts and prints data. Two different things. Mine only responds to port 9100. > It's saying that the lpd server isn't there, but that may be due to lpd > not running on your FreeBSD system. You might try telnetting to port > 515 on the JetDirect just to see if it accepts the connection. I don't > think it's possible to disable lpr/lpd on my J2552, but yours may be > different. Not possible to telnet to port 515 since port 9100 is the only open port on my jetdirect. -- Anders Andersson UNIX, Networking and Security consultant +46 (0)705 87 53 35 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message