Cannot communicate with printer DJ 4729 in Lubuntu 20.04

Asked by Siwar Ortiz on 2020-06-10

I installed the HP toolbox and connected my device correctly, or at least I think so. But when I try to make a test print a notification prompts saying that my laptop cannot communicate with the printer. First I connected the device with USB and then I try with network but I couldn't connect with network. Do I need to install aditional proprietary drivers?

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
2020-06-14
Last reply:
2020-06-18
shivani mandora (shivani1708) said : #1

Hi ,

Please refer below link for your issue on Ubuntu 20.04:

https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1879206

Siwar Ortiz (darknight3171) said : #2

Hi, I ran the command "brian_p" suggested in #691227: sudo apt purge ippusbxd. Then I ran again the HP diagnose and it seems that the application can't complete the Queue(s) configuration check.

--------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

DeskJet_4720
------------
Type: Printer
Device URI: hp:/usb/DeskJet_4720_series?serial=CN5BJ3N2TM0684
PPD: /etc/cups/ppd/DeskJet_4720.ppd
warning: Failed to read /etc/cups/ppd/DeskJet_4720.ppd ppd file
PPD Description:
Printer status: la impresora DeskJet_4720 está inactiva. activada desde mar 09 jun 2020 20:12:23
Communication status: Good

HP-DeskJet-4720-series
----------------------
Type: Printer
Device URI: hp:/usb/DeskJet_4720_series?serial=CN5BJ3N2TM0684
PPD: /etc/cups/ppd/HP-DeskJet-4720-series.ppd
warning: Failed to read /etc/cups/ppd/HP-DeskJet-4720-series.ppd ppd file
PPD Description:
Printer status: la impresora HP-DeskJet-4720-series está inactiva. activada desde mar 09 jun 2020 20:19:01
Communication status: Good

--------------
| PERMISSION |
--------------

USB DeskJet_4720 Required - - OK Node:'/dev/bus/usb/001/007' Perm:' root lp rw- rw- rw- rw- r--'

Checking for Configured Queues....
warning: Fail to read ppd=/etc/cups/ppd/DeskJet_4720.ppd file
warning: Insufficient permission to access file /etc/cups/ppd/DeskJet_4720.ppd
warning: Could not complete Queue(s) configuration check

Checking for HP Properitery Plugin's....
No plug-in printers are configured.

Diagnose completed...

brian_p (claremont102) said : #3

Hello Siwar,

I do not intend tackling this issue in the context of using HP toolbox.
Please put the device on the network and give what you get for these
three commands:

  avahi-browse -rt _ipp._tcp
  avahi-browse -rt _uscan._tcp
  driverless

Cheers,

Brian.

Siwar Ortiz (darknight3171) said : #4

Hello Brian,

Here is what I got from those commands

Cheers

siwar@siwar-inspiron143467:~$ avahi-browse -rt _ipp._tcp
+ wlp1s0 IPv6 HP DeskJet 4720 series [C495AC] Internet Printer local
+ wlp1s0 IPv4 HP DeskJet 4720 series [C495AC] Internet Printer local
= wlp1s0 IPv6 HP DeskJet 4720 series [C495AC] Internet Printer local
   hostname = [HPDC4A3EC495AC.local]
   address = [192.168.1.14]
   port = [631]
   txt = ["Scan=T" "Duplex=F" "Color=T" "UUID=1c852a4d-b800-1f08-abcd-dc4a3ec495ac" "Fax=F" "TLS=1.2" "mopria-certified=1.3" "note=" "adminurl=http://HPDC4A3EC495AC.local./#hId-pgAirPrint" "mac=dc:4a:3e:c4:95:ac" "priority=20" "usb_MDL=DeskJet 4720 series" "usb_MFG=HP" "product=(HP DeskJet 4720 series)" "ty=DeskJet 4720 series" "URF=CP1,MT1-2-8-9-10-11,PQ3-4-5,RS300,SRGB24,OB9,OFU0,W8-16,DEVW8-16,DEVRGB24-48,ADOBERGB24-48,IS1,V1.4" "kind=document,envelope,photo,postcard" "PaperMax=legal-A4" "rp=ipp/print" "pdl=application/vnd.hp-PCL,image/jpeg,application/PCLm,image/urf,image/pwg-raster" "qtotal=1" "txtvers=1"]
= wlp1s0 IPv4 HP DeskJet 4720 series [C495AC] Internet Printer local
   hostname = [HPDC4A3EC495AC.local]
   address = [192.168.1.14]
   port = [631]
   txt = ["Scan=T" "Duplex=F" "Color=T" "UUID=1c852a4d-b800-1f08-abcd-dc4a3ec495ac" "Fax=F" "TLS=1.2" "mopria-certified=1.3" "note=" "adminurl=http://HPDC4A3EC495AC.local./#hId-pgAirPrint" "mac=dc:4a:3e:c4:95:ac" "priority=20" "usb_MDL=DeskJet 4720 series" "usb_MFG=HP" "product=(HP DeskJet 4720 series)" "ty=DeskJet 4720 series" "URF=CP1,MT1-2-8-9-10-11,PQ3-4-5,RS300,SRGB24,OB9,OFU0,W8-16,DEVW8-16,DEVRGB24-48,ADOBERGB24-48,IS1,V1.4" "kind=document,envelope,photo,postcard" "PaperMax=legal-A4" "rp=ipp/print" "pdl=application/vnd.hp-PCL,image/jpeg,application/PCLm,image/urf,image/pwg-raster" "qtotal=1" "txtvers=1"]

siwar@siwar-inspiron143467:~$ avahi-browse -rt _uscan._tcp
+ wlp1s0 IPv6 HP DeskJet 4720 series [C495AC] _uscan._tcp local
+ wlp1s0 IPv4 HP DeskJet 4720 series [C495AC] _uscan._tcp local
= wlp1s0 IPv6 HP DeskJet 4720 series [C495AC] _uscan._tcp local
   hostname = [HPDC4A3EC495AC.local]
   address = [192.168.1.14]
   port = [8080]
   txt = ["duplex=F" "is=platen" "cs=binary,color,grayscale" "rs=eSCL" "representation=images/printer.png" "UUID=1c852a4d-b800-1f08-abcd-dc4a3ec495ac" "mopria-certified=1.3" "note=" "adminurl=http://HPDC4A3EC495AC.local." "ty=DeskJet 4720 series" "pdl=application/octet-stream,application/pdf,image/jpeg" "vers=2.5" "txtvers=1"]
= wlp1s0 IPv4 HP DeskJet 4720 series [C495AC] _uscan._tcp local
   hostname = [HPDC4A3EC495AC.local]
   address = [192.168.1.14]
   port = [8080]
   txt = ["duplex=F" "is=platen" "cs=binary,color,grayscale" "rs=eSCL" "representation=images/printer.png" "UUID=1c852a4d-b800-1f08-abcd-dc4a3ec495ac" "mopria-certified=1.3" "note=" "adminurl=http://HPDC4A3EC495AC.local." "ty=DeskJet 4720 series" "pdl=application/octet-stream,application/pdf,image/jpeg" "vers=2.5" "txtvers=1"]

siwar@siwar-inspiron143467:~$ driverless
ipp://HP%20DeskJet%204720%20series%20%5BC495AC%5D._ipp._tcp.local/

Siwar Ortiz (darknight3171) said : #5

Ps: I think it is necessary to point out that I'm new to linux (1 month using it).

brian_p (claremont102) said : #6

> Ps: I think it is necessary to point out that I'm new to linux (1 month using it).

You are doing well up until now. You managed to supply the requested
information. :) Now you will have to use a terminal to execute a coulple
of commands.

The first command sets up a print queue:

  lpadmin -p 4720 -v "ipp://HP%20DeskJet%204720%20series%20%5BC495AC%5D._ipp._tcp.local/" -m everywhere

That command is all on one line. The second command tests printing to
the queue:

  lp -d 4720 /etc/nsswitch.conf

How does that go?

brian_p (claremont102) said : #7

Important. I forgot. Add -E to the end of the first command.

Also - spelling. "coulple" is "couple".

Siwar Ortiz (darknight3171) said : #8

This is what I got from the commands:

siwar@siwar-inspiron143467:~$ lpadmin -p 4720 -v "ipp://HP%20DeskJet%204720%20series%20%5BC495AC%5D._ipp._tcp.local/" -m everywhere -E

siwar@siwar-inspiron143467:~$ lp -d 4720 /etc/nsswitch.conf
la id solicitada es 4720-5 (1 archivo(s))

I think it worked. I was able to print a page. Just one question, where can I find info about how to scan multiple pages?

Thank you so much Brian.

brian_p (claremont102) said : #9

> I think it worked. I was able to print a page.

I gave the lp command because it is quick. You should now be able to
print from any application.

> Just one question, where can I find info about how to scan multiple
> pages?

Your _uscan._tcp output has

txt = ["duplex=F" "is=platen" ...

"is" is "input source". "platen" is the glass. There isn't any ADF (Automatic
Document Feeder) in the txt line, so scanning multiple pages doesn't look
possible.

If your basic issue is now fixed, it would be good to mark this topic as
solved. That will help other users.

Cheers,

Brian.

Can you help with this problem?

Provide an answer of your own, or ask Siwar Ortiz for more information if necessary.

To post a message you must log in.