From owner-freebsd-questions Tue Mar 21 22:32:16 2000 Delivered-To: freebsd-questions@freebsd.org Received: from pioneernet.net (pop3.islandtransit.org [208.240.196.29]) by hub.freebsd.org (Postfix) with ESMTP id 8C91837BB7A for ; Tue, 21 Mar 2000 22:32:05 -0800 (PST) (envelope-from chip@wiegand.org) Received: from chip.homenet [208.194.173.26] by pioneernet.net (SMTPD32-6.00) id A990861F017E; Tue, 21 Mar 2000 22:34:56 -0800 From: Chip To: Jonathan Chen Subject: Re: lp daemon not running Date: Tue, 21 Mar 2000 22:30:34 -0800 X-Mailer: KMail [version 1.0.21] Content-Type: text/plain Cc: freebsd-questions@FreeBSD.ORG References: <20000322091505.B51558@jonc.logisticsoftware.co.nz> MIME-Version: 1.0 Message-Id: <00032122330700.01911@chip.homenet> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Thanks for the help. I fixed the lines by removing the white space and tabs, it prints now, from the networked win boxes included. And it printed some bmp's just fine also. Though I tried a jpeg and it was just pages of ascii code. I also stopped and restarted the lp daemon. Guess I need to install ghostscript to print the jpegs and probably gifs also? Chip www.wiegand.org On Tue, 21 Mar 2000, Jonathan Chen wrote: > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message