*BSD News Article 69445


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!news.kei.com!newsfeed.internetmci.com!news1.erols.com!newsmaster@erols.com
From: Ken Bigelow <kbigelow@www.play-hookey.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Networked printing in FreeBSD
Date: Sun, 26 May 1996 10:58:37 -0700
Organization: Erols Internet Services
Lines: 39
Message-ID: <31A89BCD.1A76@www.play-hookey.com>
NNTP-Posting-Host: kenjb05.play-hookey.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.02 (Win16; I)

I have set up a printer on my primary FreeBSD host, inserted the 
appropriate entries in my /etc/printcap file, created the spooling 
directory, and all that. It works fine as a local printer. The relevant 
entry in printcap is:

sj48|SJ48|lp|Starjet SJ-48 Inkjet printer:\
	:sh:lp=/dev/lpt0:\
	:sd=/var/spool/sj48:\
	:pw=80:pl=66:

The last line appears superfluous, but I tried it in my effort to 
activate remote printing to this printer.

The main computer is named odin, and is internally accessible by that 
name. Now, in a second computer, heimdall, I have the /etc/printcap 
entry:

sj48|SJ48|lp|Starjet SJ-48 Inkjet printer:\
	:sh:lp=:sd=/var/spool/sj48:\
	:rm=odin:rp=sj48:

I have three files sitting in heimdall's spool directory, and a status 
file that says:

waiting for queue to be enabled on odin.

the lpq command lists three jobs, and then gives the message:

lpd: your host does not have line printer access.

Obviously I have missed something in this installation, but what? I've 
been avidly scanning the handbook with lynx, so I can do it locally, but 
I can't seem to find the missing link.

Ideas, anyone?  Pleeease?

Thanks much,

Ken