[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: USB printer port (HP PSC 750)



On Sun, 2001-12-09 at 11:26, Pedro Quaresma de Almeida wrote:
> Michael Heldebrant writes:
>  > On Sat, 2001-12-08 at 15:33, Pedro Quaresma de Almeida wrote:
>  > > Hi
>  > > 
>  > > I am trying to use my HP PSC 750 connected via USB.
>  > > 
>  > > My kernel is "Linux Fenix 2.2.18pre21"
>  > > 
>  > > The dmesg command gives
>  > > 
>  > > ...
>  > > usb.c: registered new driver usblp
>  > 
>  > Well I'm no usb expert but how exactly are you communicating with the
>  > printer?  Catting files into /dev/lp0 or /dev/usb/lp0?  Is the usb
>  > printer module loaded or compiled into the kernel?  Are you using lpd,
>  > CUPS, etc?
>  > 
>  > --mike
> 
> The module is compiled into the kernel.
> 
> The contents of usb/drivers and usb/devices are (Fenix is the name of
> my Debian box)
> 
> Fenix# cat /proc/bus/usb/drivers 
>          hub
>          usbdevfs
>          serial
>  48- 63: usbscanner
>   0- 15: usblp
> 
SNIP
> But when I tried to use lpr with 
> 
> Fenix# cat /etc/printcap
> 
> #
> # This file was generated by /usr/sbin/magicfilterconfig.
> #
> lp|hppsc750|HP PSC 750:\
>         :lp=/dev/usblp0:sd=/var/spool/lpd/hppsc750:\
>         :sh:pw#80:pl#72:px#1440:mx#0:\
>         :if=/etc/magicfilter/dj550c-filter:\
>         :af=/var/log/lp-acct:lf=/var/log/lp-errs:
> 
> For exemple
> 
> Fenix# lpr lixo.devs
> Fenix# lpq
> Printer: lp@Fenix  'HP PSC 750'
>  Queue: no printable jobs in queue
>  Status: server finished at 17:45:24
> 
> Nothing happens :( The printer does not respond :(

Have you tried just cat dmesg or something similar directly to
/dev/usblp0 to see if the printer is working?  If you get printing from
this then . . .

One possiblity is that lp isn't working properly, I'm not an lp user so
I won't be able to say much other than that I like CUPS.  Have you
checked /var/log/lp-errs for any usefull information from lp?

If it doesn't print something then it's going to be harder to debug.

--mike



Reply to: