A question on installing printer

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Tue Mar 9 09:21:47 PST 2004


Stephen Liu <satimis at icare.com.hk> writes:

> - 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)

Sounds fine.  

You have more configuration you'll want to do; see the Handbook
chapter for an extensive explanation.  Personally, I use apsfilter
(from the ports) to configure and run my Deskjet.


More information about the freebsd-questions mailing list