A question on installing printer

Stephen Liu satimis at icare.com.hk
Mon Mar 8 06:59:21 PST 2004


- snip -
> > According to handbook I should run
> >
> > # ./MAKEDEV lpt0 (para port)
> >
> > whether to be replaced with
> >
> > # ./devfs -m lpt0
>
> No, devfs should recognize the device on its own, without your having
> to do anything.  Is there a /dev/lpt0 already?
>
> Also, see "man devfs".

Hi Lowell,

Tks for your response.

FreeBSD 5.2
HP Deskjet 690C
=============

I performed following test;

# dmesg
.......
Probing for PnP devices on ppbus0:
ppbus0: <HEWLETT-PACKARD DESKJET 690C> MLC,PCL,PML
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
.......
 
# ls -l /dev/lpt0
crw------- 1 root wheel 16, 0 Mar 9 01:17 /dev/lpt0
 
# lptcontrol -i -d /dev/lpt0
# lptcontrol -p -d /dev/lpt0
both without printout
 
# lptest > /dev/lpt0
 
One line printed on 1st page as follow;

!"#$%&'()*
+,-./0123456789:;<=>?@ABCDEFGHIJK.....XYZ......abcdefghijk.......xyz....
 
It seemed OK but paper feed-in continued with 'no_paper' light on (I put only 
1 paper in the tray)
 
B.R.
Stephen



More information about the freebsd-questions mailing list