Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Mar 2000 09:15:05 +1200
From:      Jonathan Chen <jonc@logisticsoftware.co.nz>
To:        Chip <chip@wiegand.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: lp daemon not running
Message-ID:  <20000322091505.B51558@jonc.logisticsoftware.co.nz>
In-Reply-To: <00032021464100.00342@chip.homenet>; from chip@wiegand.org on Mon, Mar 20, 2000 at 09:40:33PM -0800
References:  <20000320192125.A236@parish> <00032021464100.00342@chip.homenet>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 20, 2000 at 09:40:33PM -0800, Chip wrote:

> I don't know what the problem is, but I'm getting frustrated. I know
> it's not supposed to be this difficult. I printed the lptest stuff as
> described in the book The Complete FreeBSD, I have lpd_enable=Yes set
> up in the /etc/rc.conf. I have the printcap set up as follows -
> lp|epson|line|Epson|Epson Stylus Color 400 Printer:\ 
> 	:sh:sd=/var/spool/output/lpd:\ lp=/dev/lpt0:\ 
                                 ^^^^^--- this is sure not correct.
> 	:if=/usr/local/libexec/if-simple:\
> 	:lf=/var/log/lpd-errs:mx#0:
> But, I now am getting the following message when I run lpq in xwindow -
> Warning: No daemon present.

Either you've cut and copied incorrectly, or you've got a syntax error
in your printcap. It should look like this:

	lp|epson|line|Epson|Epson Stylus Color 400 Printer:\
		:sh:sd=/var/spool/output/lpd:\
		:lp=/dev/lpt0:\
		:if=/usr/local/libexec/if-simple:\
		:lf=/var/log/lpd-errs:mx#0:

Make sure there are no trailing characters after the '\'; this
includes whitespace other than newline.

Jonathan Chen
--------------------------------------------------------------------
The Internet: an empirical test of the idea that a million monkeys
              banging on a million keyboards can produce Shakespeare


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?20000322091505.B51558>