Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Apr 2001 17:04:02 -0400 (EDT)
From:      <scanner@jurai.net>
To:        Jonathan Chen <jonathan.chen@itouch.co.nz>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: ARGH! Stupid LPD error...
Message-ID:  <Pine.BSF.4.21.0104171701410.42213-100000@sasami.jurai.net>
In-Reply-To: <20010418085851.A4712@itouchnz.itouch>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 18 Apr 2001, Jonathan Chen wrote:

> Check the output of dmesg, is your /dev/lpt0 device being detected
> correctly?

ppc0: <Parallel port> at port 0x378-0x37f irq 7 flags 0x8 on isa0
ppc0: SMC-like chipset (ECP-only) in ECP mode
ppc0: FIFO with 16/16/8 bytes threshold
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port

Looks good to me.

> When something complains that it "cannot create /dev/lpt0", it's attempting
> to create the "lpt0" file in /dev; usually due to a shell script's
> "someprogram > /dev/lpt0". This could possibly be due to permission
> problems.. What user is your lpd daemon running as?

That is what I dont get:

open-systems% ls -la /dev/lpt0
crw-------  1 root  wheel   16,   0 Mar 30 17:53 /dev/lpt0

> When lpd attempts to print a job, it spawns off a child to handle it,
> that's why you see multiple lpd processes.

Makes sense. I just cant figure out WHY its refusing to print. I can't
even cat file > /dev/lpt0. It times out. Something is jacked and I just
cannot figure it out.

=============================================================================
-Chris Watson         (316) 326-3862 | FreeBSD Consultant, FreeBSD Geek 
Work:              scanner@jurai.net | Open Systems Inc., Wellington, Kansas
Home:  scanner@deceptively.shady.org | http://open-systems.net
=============================================================================
WINDOWS: "Where do you want to go today?"
LINUX: "Where do you want to go tomorrow?"
BSD: "Are you guys coming or what?"
=============================================================================
irc.openprojects.net #FreeBSD -Join the revolution!
ICQ: 20016186


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?Pine.BSF.4.21.0104171701410.42213-100000>