Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Apr 2000 23:56:37 -0400
From:      "Jeffrey San Diego" <j.sandiego@prodigy.net>
To:        <Undisclosed-Recipient:;@pimout3-int.prodigy.net;>
Subject:   Cannot print
Message-ID:  <000701bfae6a$5fcf49d0$9152fd3f@penguin>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_0004_01BFAE48.BA327310
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

In the FreeBSD 3.1 release notes, the following paragraph wrote:

The lpt driver is now deprecated. Please use ppbus with the ppc driver
instead (see the ppc(4) and ppbus(4) man pages for details). At some
point before the next release, the old lpt driver will be removed and
the nlpt driver will be renamed to lpt.

What does this mean? Does this mean "use nlpt0 as device instead of =
lpt0"?=20

The entries I currently have on my kernel config file are:

controller ppbus0
device nlpt0 at ppbus?
controller ppc0 at isa? port ? tty irq 7

After re-compiling the kernel, I created a new device called nlpt0 using =
the mknod command like this:

mknod /dev/nlpt0 16 0

After I rebooted and logged in, I tried a test print by doing this:

lptest > /dev/nlpt0

but nothing happened. Nothing came out of my HP 722C printer. Not even a =
blink.

Here are the pertinent kernel messages I got from /var/log/messages:

ppc0 at 0x378 irq 7 on isa
ppc0: W83877F chipset (EPP/PS2/NIBBLE) in COMPATIBLE mode
ppb0: IEEE1284 device found /NIBBLE/ECP
ppbus0: <HEWLETT-PACKARD DESKJET 720C> SCP, VLINK
nlpt0: <generic printer> on ppbus 0
nlpt0: Interrupt-driven port
..
..
lpd[xxx]: restarted

I am just about ready to give up on this. I've tried everything but =
nothing seems to work.

------=_NextPart_000_0004_01BFAE48.BA327310
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3D"Futura Bk BT" size=3D2>In the FreeBSD 3.1 release =
notes, the=20
following&nbsp;paragraph wrote:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3D"Futura Bk BT" size=3D2>The lpt driver is now =
deprecated. Please=20
use ppbus with the ppc driver<BR>instead (see the ppc(4) and ppbus(4) =
man pages=20
for details). At some<BR>point before the next release, the old lpt =
driver will=20
be removed and<BR>the nlpt driver will be renamed to lpt.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3D"Futura Bk BT" size=3D2>What does this mean? Does this =
mean "use=20
nlpt0 as device instead of lpt0"? </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3D"Futura Bk BT" size=3D2>The entries I currently have =
on my kernel=20
config file are:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3D"Futura Bk BT" size=3D2>controller ppbus0</FONT></DIV>
<DIV><FONT face=3D"Futura Bk BT" size=3D2>device nlpt0 at =
ppbus?</FONT></DIV>
<DIV><FONT face=3D"Futura Bk BT" size=3D2>controller ppc0 at isa? port ? =
tty irq=20
7</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3D"Futura Bk BT" size=3D2>After re-compiling the=20
kernel,&nbsp;</FONT><FONT face=3D"Futura Bk BT" size=3D2>I created a new =
device=20
called nlpt0 using the mknod command like this:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3D"Futura Bk BT" size=3D2>
<DIV><FONT face=3D"Futura Bk BT" size=3D2>mknod /dev/nlpt0 16 =
0</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>After I rebooted and logged in, I tried&nbsp;a test print by doing=20
this:</DIV>
<DIV>&nbsp;</DIV>
<DIV>lptest &gt; /dev/nlpt0</DIV>
<DIV>&nbsp;</DIV>
<DIV>but nothing happened. Nothing came out of my HP 722C printer. Not =
even a=20
blink.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Here are the pertinent kernel messages I got from =
/var/log/messages:</DIV>
<DIV>&nbsp;</DIV>
<DIV>ppc0 at 0x378 irq 7 on isa</DIV>
<DIV>ppc0: W83877F chipset (EPP/PS2/NIBBLE) in COMPATIBLE mode</DIV>
<DIV>ppb0: IEEE1284 device found /NIBBLE/ECP</DIV>
<DIV>ppbus0: &lt;HEWLETT-PACKARD DESKJET 720C&gt; SCP, VLINK</DIV>
<DIV>nlpt0: &lt;generic printer&gt; on ppbus 0</DIV>
<DIV>nlpt0: Interrupt-driven port</DIV>
<DIV>..</DIV>
<DIV>..</DIV>
<DIV>lpd[xxx]: restarted</DIV>
<DIV>&nbsp;</DIV>
<DIV>I am just about&nbsp;ready to give up on this. I've tried =
everything but=20
nothing seems to work.</DIV></FONT></DIV></BODY></HTML>

------=_NextPart_000_0004_01BFAE48.BA327310--



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?000701bfae6a$5fcf49d0$9152fd3f>