From owner-freebsd-questions Tue Mar 21 13:15:13 2000 Delivered-To: freebsd-questions@freebsd.org Received: from logisticsoftware.co.nz (logisticsoftware.co.nz [202.37.163.1]) by hub.freebsd.org (Postfix) with ESMTP id 681AC37BEBE for ; Tue, 21 Mar 2000 13:15:09 -0800 (PST) (envelope-from jonc@logisticsoftware.co.nz) Received: from jonc.logisticsoftware.co.nz (jonc.logisticsoftware.co.nz [10.3.1.1]) by logisticsoftware.co.nz (8.9.3/8.9.3) with ESMTP id JAA10437; Wed, 22 Mar 2000 09:15:06 +1200 (NZST) Received: (from jonc@localhost) by jonc.logisticsoftware.co.nz (8.9.3/8.9.3) id JAA51699; Wed, 22 Mar 2000 09:15:05 +1200 (NZST) (envelope-from jonc) Date: Wed, 22 Mar 2000 09:15:05 +1200 From: Jonathan Chen To: Chip Cc: freebsd-questions@FreeBSD.ORG Subject: Re: lp daemon not running Message-ID: <20000322091505.B51558@jonc.logisticsoftware.co.nz> References: <20000320192125.A236@parish> <00032021464100.00342@chip.homenet> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <00032021464100.00342@chip.homenet>; from chip@wiegand.org on Mon, Mar 20, 2000 at 09:40:33PM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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