18.04 has no support for my printer

Brian ad44 at cityscape.co.uk
Tue Oct 16 11:57:16 UTC 2018


On Tue 16 Oct 2018 at 12:06:24 +0200, Charles Irons wrote:

> Hello Brian

Hello Charles,

I've done a bit of tidying up of your post to make its content a little
more accessible.

> I did several commands you gave me with these results:
> chas at Charles-PC:~$ ls -l /etc/cups/ppd/
> total 64
> -rw-r----- 1 root lp 17248 Oct 15 16:11 Deskjet_1510_1804.ppd
> -rw-r----- 1 root lp 17248 Oct 15 15:30 HP-Deskjet-1510-series.ppd
> -rw-r----- 1 root lp 22858 Oct 15 15:25 HP-Deskjet-1510-series.ppd.O

This fine. It looks like you are using the same PPD for Deskjet_1510_1804
and HP-Deskjet-1510-series. This is not a problem for what we are doing
here. If necessary, it can dealt with later.

> chas at Charles-PC:~$ lpinfo -v
> network beh
> file cups-brf:/
> network ipp
> network https
> network ipps
> network http
> network socket
> network lpd
> direct hp
> direct hpfax
> network smb

There *is* a problem here. There should be a line begining

direct usb://.....

and direct hp should be

direct hp:/usb/Deskjet_1510_series?serial=CN43B1D1DC05XJ

> chas at Charles-PC:~$ lpinfo -m | grep "deskjet_1510_series.ppd"
> drv:///hp/hpcups.drv/hp-deskjet_1510_series.ppd HP Deskjet 1510 Series, hpcups 3.17.10
> drv:///hpcups.drv/hp-deskjet_1510_series.ppd HP Deskjet 1510 Series, hpcups 3.17.10

chas at Charles-PC:~$ 

> So if that looks OK to you, I will go on with your commands:
> > Then:
> >  lpadmin -p test -v <URI> -E -m <PPD>
> > Print with 
> >  lp -d test /etc/nsswitch.conf

You have to sort out lpinfo -v first. Is the printer powered on, plugged
into a USB port and recognised (use 'lsusb' for that) by the system?

-- 
Brian.




More information about the ubuntu-users mailing list