Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Feb 2001 13:57:16 -0800 (PST)
From:      K.Greenwood <k_greenwood1@sluggy.net>
To:        Bill Schoolcraft <bill@wiliweld.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: lpd[518]: unable to get official name for local machine (fwd)
Message-ID:  <20010228215716.5E29B36FA@sitemail.everyone.net>

next in thread | raw e-mail | index | archive | help
Don't know if this will help or not, but here is a copy of the printcap that I have that works on my HP8000DN (jetdirect).

hp8000dn|lp2:\
	:sd=/var/spool/hp8000dn:\ (*LOOK AT NOTE*)
	:mx#0:\
	:rm=000.000.000.000:\ (*LOOK AT 2ND NOTE*)
	:sh:\
	:lf=/var/log/lpd-errs:\
	:rp=raw:

(*THIS IS THE NOTE*)  Make sure that the path:
/var/spool/hp8000dn (or whatever path you feel is appropriate) has the proper rights.  Mine works with drwxrwxrwx.  I'm not sure how secure it is, but it works for me (I simply used the chmod ugo=rwx on the dir).  If it is horrifically insecure, hopefully somebody will point it out.  Don't put in the comment.

(*THIS THE 2ND NOTE*)  Put the IP that is assigned to the jetdirect card without the comment.

Just nitpicking, but did you check the archives or just forward the message to the mailing list?  Good luck.

--- Bill Schoolcraft <bill@wiliweld.com>
> wrote:
>
>At Wed, 28 Feb 2001 it looks like Bill Moran composed:
>
>wmoran->Make sure the name for the machine is in /etc/hosts - or insure that
>wmoran->it's available from the DNS servers.
>wmoran->
>
>Great, that got rid of the errors but still no output at the
>printer. It's an HP LaserJet 8000n and it just works with the
>Solaris and Linux boxes right next to me here at work but I've made
>my default work machine a FreeBSD-4.2
>
>My printcap is as follows:
>
>lp|HP8000:\
>        :lp=/dev/lpt0:\
>        :sh:mx#0:\
>        :rm=10.160.64.99:\
>        :sd=/var/spool/output/lpr1-tech:\
>        :lf=/var/log/lpd-errs:\
>        :if=/usr/local/libexec/lpfilter:
>
>I've tried it with and without the filter. I get "dev/lp does not
>exist" when I remove the first line. This is a network printer once
>again here at work. Thanks


_____________________________________________________________
Sluggy.Net: The Sluggy Freelance Community!

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010228215716.5E29B36FA>