Is there already hplip support for fedora 38? If not when does it come/are there plans for it?

Asked by Julien Mijnders

Summary says it all.

Reason for asking:

After upgrading to fedora 38, I am getting the following message:

"Device communication error code: 5012."

And I do not know how to solve it.

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Julien Mijnders
Solved:
Last query:
Last reply:
Revision history for this message
Julien Mijnders (no1nspiration-deactivatedaccount) said (last edit ):
#1

Additional info:
In Fedora 38 KDE spin, the Discover app will just give you hplip most recent version.
Yes, it works fine.
But when actually installing it via the hplip Sourceforge website with a redirect on the fedora button,
then you discover the also mentioned thing in the script:
“fedora 38 is not supported”.

Uninstalling hplip and reinstalling it from the app store of KDE doesn't really help. It simply won't print.
The same is for the automatic script when trying to just install version 3.22.10 of hplip on fedora 38.
It will also indeed mention fedora 38 isn't yet supported.

Automatic script output will end in the following result:
"
INSTALL MISSING REQUIRED DEPENDENCIES
-------------------------------------
note: Installation of dependencies requires an active internet connection.
warning: Missing REQUIRED dependency: python3-devel (Python devel - Python development files)
warning: Missing REQUIRED dependency: libnetsnmp-devel (libnetsnmp-devel - SNMP networking library development files)
warning: Missing REQUIRED dependency: python3-pyqt4 (PyQt 4- Qt interface for Python (for Qt version 4.x))
warning: This installer cannot install 'python3-pyqt4' for your distro/OS and/or version.
error: Installation cannot continue without this dependency. Please manually install this dependency and re-run this installer.
"
Unfortunately, the following packages will not be found by dnf in fedora 38:
→ libnetsnmp-devel
→ python3-pyqt4 (you will get notified by dnf with a notice: ”Maybe you meant python3-PyQt4”

Fixes?
→ libnetsnmp-devel got probably renamed to net-snmp-devel
→ python3-pyqt4 got probably renamed to python3-PyQt4

Based on that info I may think some updating is needed, because without python3-pyqt4 the automatic script will not install hplip.

Revision history for this message
brian_p (claremont102) said :
#2

> And I do not know how to solve it.

You could start with giving the printer's make and model and
its connection method.

Revision history for this message
Julien Mijnders (no1nspiration-deactivatedaccount) said :
#3

Printer's model/name: HP deskjet 2620
Connection method used: Wi-Fi. It is possible to use a USB connection.

However, since fedora 38 has a renamed net-snmp-devel package (which controls networking, based on the info I have red source: “https://search.brave.com/search?q=net-snmp-devel”), I guess this doesn't work with hplip.

Revision history for this message
brian_p (claremont102) said :
#4

> Printer's model/name: HP deskjet 2620

Good. It's a modern printer that should do driverless printing.

Give the outputs of

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

Revision history for this message
Julien Mijnders (no1nspiration-deactivatedaccount) said :
#5

→ avahi-browse _ipp._tcp
+ wlp5s0 IPv6 HP DeskJet 2600 series @ JulienFedoraLegionPC _ipp._tcp local
+ wlp5s0 IPv6 HP DeskJet 2600 series [64BDCB] _ipp._tcp local
+ wlp5s0 IPv4 HP DeskJet 2600 series [64BDCB] _ipp._tcp local
+ wlp5s0 IPv4 HP DeskJet 2600 series @ JulienFedoraLegionPC _ipp._tcp local
+ enp4s0 IPv6 HP DeskJet 2600 series @ JulienFedoraLegionPC _ipp._tcp local
+ enp4s0 IPv4 HP DeskJet 2600 series @ JulienFedoraLegionPC _ipp._tcp local
+ lo IPv4 HP DeskJet 2600 series @ JulienFedoraLegionPC _ipp._tcp local
+ lo IPv4 HP DeskJet 2600 series [64BDCB] (USB) _ipp._tcp local
^Z
[1]+ Gepauzeerd avahi-browse _ipp._tcp

→ avahi-browse _uscan._tcp
+ lo IPv4 HP DeskJet 2600 series [64BDCB] (USB) _uscan._tcp local
+ wlp5s0 IPv6 HP DeskJet 2600 series [64BDCB] _uscan._tcp local
+ wlp5s0 IPv4 HP DeskJet 2600 series [64BDCB] _uscan._tcp local
^Z
[2]+ Gepauzeerd avahi-browse _uscan._tcp

→ driverless
ipp://HP%20DeskJet%202600%20series%20%5B64BDCB%5D%20(USB)._ipp._tcp.local/
ipps://HP%20DeskJet%202600%20series%20%5B64BDCB%5D._ipps._tcp.local/

---------------------------------------
Outputs.

Revision history for this message
brian_p (claremont102) said (last edit ):
#6

Neither of the first two commands is a full output. I can work with
the third command's result but would prefer all info.

Revision history for this message
Julien Mijnders (no1nspiration-deactivatedaccount) said :
#7

I did indeed stop the commands by Ctrl+z, because of a break/stop in flow of information. Commands would deliver no more info/output than what I've posted.

julien  ~  23:20  avahi-browse _ipp._tcp
+ wlp5s0 IPv6 HP DeskJet 2600 series @ JulienFedoraLegionPC _ipp._tcp local
+ wlp5s0 IPv6 HP DeskJet 2600 series [64BDCB] _ipp._tcp local
+ wlp5s0 IPv4 HP DeskJet 2600 series [64BDCB] _ipp._tcp local
+ wlp5s0 IPv4 HP DeskJet 2600 series @ JulienFedoraLegionPC _ipp._tcp local
+ enp4s0 IPv6 HP DeskJet 2600 series @ JulienFedoraLegionPC _ipp._tcp local
+ enp4s0 IPv4 HP DeskJet 2600 series @ JulienFedoraLegionPC _ipp._tcp local
+ lo IPv4 HP DeskJet 2600 series @ JulienFedoraLegionPC _ipp._tcp local
+ lo IPv4 HP DeskJet 2600 series [64BDCB] (USB) _ipp._tcp local

julien  ~  00:39  avahi-browse _uscan._tcp
+ wlp5s0 IPv6 HP DeskJet 2600 series [64BDCB] _uscan._tcp local
+ wlp5s0 IPv4 HP DeskJet 2600 series [64BDCB] _uscan._tcp local
+ lo IPv4 HP DeskJet 2600 series [64BDCB] (USB) _uscan._tcp local

The third command will also just give the same output as my last comment on this thread.
But when I let it run for about 10 sec it will stop, the others won't.

I'm not sure of how long to wait for those first 2 commands, but giving them let's say 30 min for a connection (seems a bit weird and long for me for a printer).

(julien  ~  00:40  ) ⇾ is just ohmybash… fancyness, but im not here for that.

Revision history for this message
brian_p (claremont102) said (last edit ):
#8

To print on the network execute

lpadmin -p DeskJet2060 -v "ipps://HP%20DeskJet%202600%20series%20%5B64BDCB%5D._ipps._tcp.local/" -E -m everywhere

Test with

  lp -d DeskJet2060 /etc/nsswitch.conf

Revision history for this message
Julien Mijnders (no1nspiration-deactivatedaccount) said :
#9

julien  ~  15:04  lpadmin -p DeskJet2060 “ipps://HP%20DeskJet%202600%20series%20%5B64BDCB%5D._ipps._tcp.local/” -E -m everywhere

Gives/Outputs:
lpadmin: Unknown argument “ipps://HP%20DeskJet%202600%20series%20%5B64BDCB%5D._ipps._tcp.local/”.

With under, it just the same output as when you would type: lpadmin --help.

julien  ~  15:05  lp -d DeskJet2060 /etc/nsswitch.conf

Gives/Outputs:
lp: Error - The printer or class does not exist.

--------------------------------------------------
Tried this also by changing a parameter “Deskjet2060” to “Deskjet2620”. I don't know if this really has some effect on the command, because I do specify another destination by it (the 2620 model), But I don't know if this is recognized (probably not if I see so).
-------------------------------------------------------

If the class of the printer does not exist, must I create a new one or something?
This is what's in that file:
julien  ~  15:05  bat /etc/nsswitch.conf
───┬───────────────────────────────────────────────────────────────────────────────────────────
        │ File: /etc/nsswitch.conf
--──┼───────────────────────────────────────────────────────────────────────────────────────────
   1 │ # Generated by authselect on Thu May 4 22:35:11 2023
   2 │ # Do not modify this file manually, use authselect instead. Any user changes will be overwritten.
   3 │ # You can stop authselect from managing your configuration by calling 'authselect opt-out'.
   4 │ # See authselect(8) for more details.
   5 │
   6 │ # In order of likelihood of use to accelerate lookup.
   7 │ passwd: files sss systemd
   8 │ shadow: files
   9 │ group: files sss systemd
  10 │ hosts: files myhostname mdns4_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] dns
  11 │ services: files sss
  12 │ netgroup: files sss
  13 │ automount: files sss
  14 │
  15 │ aliases: files
  16 │ ethers: files
  17 │ gshadow: files
  18 │ networks: files dns
  19 │ protocols: files
  20 │ publickey: files
  21 │ rpc: files
───────┴──────────────────────────────────────────────────────────────────────────────────────────

Revision history for this message
brian_p (claremont102) said :
#10

A typo. Sorry. I have corrected it .

Revision history for this message
Julien Mijnders (no1nspiration-deactivatedaccount) said :
#11

Printer over the network works, however, printing over USB is just still outputting “device communication error 5012”.

Although well, I would like a fix for hplip (for stock fedora 38/hplip's own website), for device communication error 5012.
But that would be another thread. (I saw many bugs/question asked about this error).

Also, fedora 38 would really need to be supported, because (1. the auto-script on hplip's website currently doesn't support it. 2. Based on that, fedora gets updated every 6 months.) And that's what the summary is about.

But thanks for fixing printing over the network.

Revision history for this message
brian_p (claremont102) said :
#12

For USB printing you could try

lpadmin -p DeskJet2060 -v "ipp://HP%20DeskJet%202600%20series%20%5B64BDCB%5D%20(USB)._ipp._tcp.local/i" -E -m everywhere

Test as before.

Revision history for this message
Julien Mijnders (no1nspiration-deactivatedaccount) said :
#13

All works now.
Thanks.

Revision history for this message
brian_p (claremont102) said :
#14

Apologies, Julien; I made a couple of typos. The commands
should be:

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

Revision history for this message
Julien Mijnders (no1nspiration-deactivatedaccount) said (last edit ):
#15

julien  ~  15:50  avahi-browse -rt _ipp._tcp

Output:
+ wlp5s0 IPv6 DeskJet_2600 @ JulienFedoraLegionPC _ipp._tcp local
+ wlp5s0 IPv6 DeskJet2620 @ JulienFedoraLegionPC _ipp._tcp local
+ wlp5s0 IPv4 DeskJet_2600 @ JulienFedoraLegionPC _ipp._tcp local
+ wlp5s0 IPv4 DeskJet2620 @ JulienFedoraLegionPC _ipp._tcp local
+ enp4s0 IPv4 DeskJet_2600 @ JulienFedoraLegionPC _ipp._tcp local
+ enp4s0 IPv4 DeskJet2620 @ JulienFedoraLegionPC _ipp._tcp local
+ lo IPv4 HP DeskJet 2600 series [64BDCB] (USB) _ipp._tcp local
+ lo IPv4 DeskJet_2600 @ JulienFedoraLegionPC _ipp._tcp local
+ lo IPv4 DeskJet2620 @ JulienFedoraLegionPC _ipp._tcp local
= wlp5s0 IPv6 DeskJet_2600 @ JulienFedoraLegionPC _ipp._tcp local
   hostname = [JulienFedoraLegionPC.local]
   address = [fe80::c09b:815a:de8:e920]
   port = [631]
   txt = ["printer-type=0x100E" "Color=T" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ4-5,SRGB24,RS300,FN3" "TLS=1.2" "UUID=522a1f22-cd77-35aa-7bc2-0b23ab7e9913" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HP Deskjet Ink Advantage 2678 All-in-one)" "priority=0" "note=" "adminurl=https://JulienFedoraLegionPC.local.:631/printers/DeskJet_2600" "ty=HP Deskjet 2600 Series, hpcups 3.22.10" "rp=printers/DeskJet_2600" "qtotal=1" "txtvers=1"]
= wlp5s0 IPv6 DeskJet2620 @ JulienFedoraLegionPC _ipp._tcp local
   hostname = [JulienFedoraLegionPC.local]
   address = [fe80::c09b:815a:de8:e920]
   port = [631]
   txt = ["printer-type=0x900E" "Color=T" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ3-4-5,SRGB24,RS300,FN3" "TLS=1.2" "UUID=fb53e9c3-b4ad-342d-40c1-21637902d5d7" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(DeskJet 2600 series)" "priority=0" "note=" "adminurl=https://JulienFedoraLegionPC.local.:631/printers/DeskJet2620" "ty=DeskJet 2600 series - IPP Everywhere" "rp=printers/DeskJet2620" "qtotal=1" "txtvers=1"]
+ enp4s0 IPv6 DeskJet2620 @ JulienFedoraLegionPC _ipp._tcp local
+ enp4s0 IPv6 DeskJet_2600 @ JulienFedoraLegionPC _ipp._tcp local
= wlp5s0 IPv4 DeskJet_2600 @ JulienFedoraLegionPC _ipp._tcp local
   hostname = [JulienFedoraLegionPC.local]
   address = [192.168.223.100]
   port = [631]
   txt = ["printer-type=0x100E" "Color=T" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ4-5,SRGB24,RS300,FN3" "TLS=1.2" "UUID=522a1f22-cd77-35aa-7bc2-0b23ab7e9913" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HP Deskjet Ink Advantage 2678 All-in-one)" "priority=0" "note=" "adminurl=https://JulienFedoraLegionPC.local.:631/printers/DeskJet_2600" "ty=HP Deskjet 2600 Series, hpcups 3.22.10" "rp=printers/DeskJet_2600" "qtotal=1" "txtvers=1"]
= wlp5s0 IPv4 DeskJet2620 @ JulienFedoraLegionPC _ipp._tcp local
   hostname = [JulienFedoraLegionPC.local]
   address = [192.168.223.100]
   port = [631]
   txt = ["printer-type=0x900E" "Color=T" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ3-4-5,SRGB24,RS300,FN3" "TLS=1.2" "UUID=fb53e9c3-b4ad-342d-40c1-21637902d5d7" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(DeskJet 2600 series)" "priority=0" "note=" "adminurl=https://JulienFedoraLegionPC.local.:631/printers/DeskJet2620" "ty=DeskJet 2600 series - IPP Everywhere" "rp=printers/DeskJet2620" "qtotal=1" "txtvers=1"]
= enp4s0 IPv4 DeskJet_2600 @ JulienFedoraLegionPC _ipp._tcp local
   hostname = [JulienFedoraLegionPC.local]
   address = [XXXXXXXX]
   port = [631]
   txt = ["printer-type=0x100E" "Color=T" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ4-5,SRGB24,RS300,FN3" "TLS=1.2" "UUID=522a1f22-cd77-35aa-7bc2-0b23ab7e9913" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HP Deskjet Ink Advantage 2678 All-in-one)" "priority=0" "note=" "adminurl=https://JulienFedoraLegionPC.local.:631/printers/DeskJet_2600" "ty=HP Deskjet 2600 Series, hpcups 3.22.10" "rp=printers/DeskJet_2600" "qtotal=1" "txtvers=1"]
= enp4s0 IPv4 DeskJet2620 @ JulienFedoraLegionPC _ipp._tcp local
   hostname = [JulienFedoraLegionPC.local]
   address = [XXXXXXXX]
   port = [631]
   txt = ["printer-type=0x900E" "Color=T" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ3-4-5,SRGB24,RS300,FN3" "TLS=1.2" "UUID=fb53e9c3-b4ad-342d-40c1-21637902d5d7" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(DeskJet 2600 series)" "priority=0" "note=" "adminurl=https://JulienFedoraLegionPC.local.:631/printers/DeskJet2620" "ty=DeskJet 2600 series - IPP Everywhere" "rp=printers/DeskJet2620" "qtotal=1" "txtvers=1"]
= lo IPv4 HP DeskJet 2600 series [64BDCB] (USB) _ipp._tcp local
   hostname = [JulienFedoraLegionPC.local]
   address = [127.0.0.1]
   port = [60000]
   txt = ["air=none" "mopria-certified=1.3" "rp=ipp/print" "priority=50" "kind=document,envelope,photo,postcard" "PaperMax=legal-A4" "URF=CP1,MT1-2-8-9-10-11,PQ3-4-5,RS300,SRGB24,OB9,OFU0,W8-16,DEVW8-16,DEVRGB24-48,ADOBERGB24-48,FN3,IS1,V1.4" "UUID=fb90b407-c3d5-fdf3-fb38-d8e9d8dcd065" "Color=T" "Duplex=F" "note=" "qtotal=1" "usb_MDL=DeskJet 2600 series" "usb_MFG=HP" "usb_CMD=PCL3GUI,PJL,Automatic,JPEG,PCLM,AppleRaster,PWGRaster,DW-PCL,802.11,DESKJET,DYN" "ty=HP DeskJet 2600 series" "product=(HP DeskJet 2600 series)" "pdl=application/vnd.hp-PCL,image/jpeg,application/PCLm,image/urf,image/pwg-raster,application/octet-stream" "txtvers=1" "adminurl=http://localhost:60000/#hId-pgAirPrint" "Fax=F" "Scan=T"]
= lo IPv4 DeskJet2620 @ JulienFedoraLegionPC _ipp._tcp local
   hostname = [JulienFedoraLegionPC.local]
   address = [127.0.0.1]
   port = [631]
   txt = ["printer-type=0x900E" "Color=T" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ3-4-5,SRGB24,RS300,FN3" "TLS=1.2" "UUID=fb53e9c3-b4ad-342d-40c1-21637902d5d7" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(DeskJet 2600 series)" "priority=0" "note=" "adminurl=https://JulienFedoraLegionPC.local.:631/printers/DeskJet2620" "ty=DeskJet 2600 series - IPP Everywhere" "rp=printers/DeskJet2620" "qtotal=1" "txtvers=1"]
= lo IPv4 DeskJet_2600 @ JulienFedoraLegionPC _ipp._tcp local
   hostname = [JulienFedoraLegionPC.local]
   address = [127.0.0.1]
   port = [631]
   txt = ["printer-type=0x100E" "Color=T" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ4-5,SRGB24,RS300,FN3" "TLS=1.2" "UUID=522a1f22-cd77-35aa-7bc2-0b23ab7e9913" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HP Deskjet Ink Advantage 2678 All-in-one)" "priority=0" "note=" "adminurl=https://JulienFedoraLegionPC.local.:631/printers/DeskJet_2600" "ty=HP Deskjet 2600 Series, hpcups 3.22.10" "rp=printers/DeskJet_2600" "qtotal=1" "txtvers=1"]
= enp4s0 IPv6 DeskJet2620 @ JulienFedoraLegionPC _ipp._tcp local
   hostname = [JulienFedoraLegionPC.local]
   address = [2a02:a44b:9970:1:88df:9921:6885:fd3a]
   port = [631]
   txt = ["printer-type=0x900E" "Color=T" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ3-4-5,SRGB24,RS300,FN3" "TLS=1.2" "UUID=fb53e9c3-b4ad-342d-40c1-21637902d5d7" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(DeskJet 2600 series)" "priority=0" "note=" "adminurl=https://JulienFedoraLegionPC.local.:631/printers/DeskJet2620" "ty=DeskJet 2600 series - IPP Everywhere" "rp=printers/DeskJet2620" "qtotal=1" "txtvers=1"]
= enp4s0 IPv6 DeskJet_2600 @ JulienFedoraLegionPC _ipp._tcp local
   hostname = [JulienFedoraLegionPC.local]
   address = [2a02:a44b:9970:1:88df:9921:6885:fd3a]
   port = [631]
   txt = ["printer-type=0x100E" "Color=T" "mopria-certified=1.3" "URF=V1.4,CP1,W8,PQ4-5,SRGB24,RS300,FN3" "TLS=1.2" "UUID=522a1f22-cd77-35aa-7bc2-0b23ab7e9913" "pdl=application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf" "product=(HP Deskjet Ink Advantage 2678 All-in-one)" "priority=0" "note=" "adminurl=https://JulienFedoraLegionPC.local.:631/printers/DeskJet_2600" "ty=HP Deskjet 2600 Series, hpcups 3.22.10" "rp=printers/DeskJet_2600" "qtotal=1" "txtvers=1"]
+ wlp5s0 IPv4 HP DeskJet 2600 series [64BDCB] _ipp._tcp local
= wlp5s0 IPv4 HP DeskJet 2600 series [64BDCB] _ipp._tcp local
   hostname = [HPC4651664BDCB.local]
   address = [192.168.223.1]
   port = [631]
   txt = ["Scan=T" "Duplex=F" "Color=T" "UUID=fb90b407-c3d5-fdf3-fb38-d8e9d8dcd065" "Fax=F" "TLS=1.2" "mopria-certified=1.3" "note=" "adminurl=http://HPC4651664BDCB.local./#hId-pgAirPrint" "mac=c4:65:16:64:bd:cb" "priority=20" "usb_MDL=DeskJet 2600 series" "usb_MFG=HP" "product=(HP DeskJet 2600 series)" "ty=HP DeskJet 2600 series" "mopria-certified=1.3" "URF=CP1,MT1-2-8-9-10-11,PQ3-4-5,RS300,SRGB24,OB9,OFU0,W8-16,DEVW8-16,DEVRGB24-48,ADOBERGB24-48,FN3,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"]
+ wlp5s0 IPv6 HP DeskJet 2600 series [64BDCB] _ipp._tcp local
= wlp5s0 IPv6 HP DeskJet 2600 series [64BDCB] _ipp._tcp local
   hostname = [HPC4651664BDCB.local]
   address = [192.168.223.1]
   port = [631]
   txt = ["Scan=T" "Duplex=F" "Color=T" "UUID=fb90b407-c3d5-fdf3-fb38-d8e9d8dcd065" "Fax=F" "TLS=1.2" "mopria-certified=1.3" "note=" "adminurl=http://HPC4651664BDCB.local./#hId-pgAirPrint" "mac=c4:65:16:64:bd:cb" "priority=20" "usb_MDL=DeskJet 2600 series" "usb_MFG=HP" "product=(HP DeskJet 2600 series)" "ty=HP DeskJet 2600 series" "mopria-certified=1.3" "URF=CP1,MT1-2-8-9-10-11,PQ3-4-5,RS300,SRGB24,OB9,OFU0,W8-16,DEVW8-16,DEVRGB24-48,ADOBERGB24-48,FN3,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"]
+ enp4s0 IPv4 HP DeskJet 2600 series [64BDCB] _ipp._tcp local
= enp4s0 IPv4 HP DeskJet 2600 series [64BDCB] _ipp._tcp local
   hostname = [HPC4651664BDCB.local]
   address = [192.168.2.141]
   port = [631]
   txt = ["Scan=T" "Duplex=F" "Color=T" "UUID=fb90b407-c3d5-fdf3-fb38-d8e9d8dcd065" "Fax=F" "TLS=1.2" "mopria-certified=1.3" "note=" "adminurl=http://HPC4651664BDCB.local./#hId-pgAirPrint" "mac=c4:65:16:64:bd:cb" "priority=20" "usb_MDL=DeskJet 2600 series" "usb_MFG=HP" "product=(HP DeskJet 2600 series)" "ty=HP DeskJet 2600 series" "mopria-certified=1.3" "URF=CP1,MT1-2-8-9-10-11,PQ3-4-5,RS300,SRGB24,OB9,OFU0,W8-16,DEVW8-16,DEVRGB24-48,ADOBERGB24-48,FN3,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"]
+ enp4s0 IPv6 HP DeskJet 2600 series [64BDCB] _ipp._tcp local
= enp4s0 IPv6 HP DeskJet 2600 series [64BDCB] _ipp._tcp local
   hostname = [HPC4651664BDCB.local]
   address = [192.168.2.141]
   port = [631]
   txt = ["Scan=T" "Duplex=F" "Color=T" "UUID=fb90b407-c3d5-fdf3-fb38-d8e9d8dcd065" "Fax=F" "TLS=1.2" "mopria-certified=1.3" "note=" "adminurl=http://HPC4651664BDCB.local./#hId-pgAirPrint" "mac=c4:65:16:64:bd:cb" "priority=20" "usb_MDL=DeskJet 2600 series" "usb_MFG=HP" "product=(HP DeskJet 2600 series)" "ty=HP DeskJet 2600 series" "mopria-certified=1.3" "URF=CP1,MT1-2-8-9-10-11,PQ3-4-5,RS300,SRGB24,OB9,OFU0,W8-16,DEVW8-16,DEVRGB24-48,ADOBERGB24-48,FN3,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"]

julien  ~  15:50  avahi-browse -rt _uscan._tcp

Output:
+ lo IPv4 HP DeskJet 2600 series [64BDCB] (USB) _uscan._tcp local
= lo IPv4 HP DeskJet 2600 series [64BDCB] (USB) _uscan._tcp local
   hostname = [JulienFedoraLegionPC.local]
   address = [127.0.0.1]
   port = [60000]
   txt = ["duplex=F" "is=platen" "cs=binary,color,grayscale" "UUID=fb90b407-c3d5-fdf3-fb38-d8e9d8dcd065" "adminurl=http://localhost:60000" "representation=images/printer.png" "pdl=application/octet-stream,application/pdf,image/jpeg" "ty=DeskJet 2600 series" "rs=eSCL" "vers=2.62" "txtvers=1"]
+ enp4s0 IPv4 HP DeskJet 2600 series [64BDCB] _uscan._tcp local
+ wlp5s0 IPv4 HP DeskJet 2600 series [64BDCB] _uscan._tcp local
= wlp5s0 IPv4 HP DeskJet 2600 series [64BDCB] _uscan._tcp local
   hostname = [HPC4651664BDCB.local]
   address = [192.168.223.1]
   port = [8080]
   txt = ["duplex=F" "is=platen" "cs=binary,color,grayscale" "rs=eSCL" "representation=images/printer.png" "UUID=fb90b407-c3d5-fdf3-fb38-d8e9d8dcd065" "mopria-certified=1.3" "note=" "adminurl=http://HPC4651664BDCB.local." "ty=HP DeskJet 2600 series" "pdl=application/octet-stream,application/pdf,image/jpeg" "vers=2.62" "txtvers=1"]
+ wlp5s0 IPv6 HP DeskJet 2600 series [64BDCB] _uscan._tcp local
= wlp5s0 IPv6 HP DeskJet 2600 series [64BDCB] _uscan._tcp local
   hostname = [HPC4651664BDCB.local]
   address = [192.168.223.1]
   port = [8080]
   txt = ["duplex=F" "is=platen" "cs=binary,color,grayscale" "rs=eSCL" "representation=images/printer.png" "UUID=fb90b407-c3d5-fdf3-fb38-d8e9d8dcd065" "mopria-certified=1.3" "note=" "adminurl=http://HPC4651664BDCB.local." "ty=HP DeskJet 2600 series" "pdl=application/octet-stream,application/pdf,image/jpeg" "vers=2.62" "txtvers=1"]
+ enp4s0 IPv6 HP DeskJet 2600 series [64BDCB] _uscan._tcp local
= enp4s0 IPv4 HP DeskJet 2600 series [64BDCB] _uscan._tcp local
   hostname = [HPC4651664BDCB.local]
   address = [192.168.2.141]
   port = [8080]
   txt = ["duplex=F" "is=platen" "cs=binary,color,grayscale" "rs=eSCL" "representation=images/printer.png" "UUID=fb90b407-c3d5-fdf3-fb38-d8e9d8dcd065" "mopria-certified=1.3" "note=" "adminurl=http://HPC4651664BDCB.local." "ty=HP DeskJet 2600 series" "pdl=application/octet-stream,application/pdf,image/jpeg" "vers=2.62" "txtvers=1"]
= enp4s0 IPv6 HP DeskJet 2600 series [64BDCB] _uscan._tcp local
   hostname = [HPC4651664BDCB.local]
   address = [192.168.2.141]
   port = [8080]
   txt = ["duplex=F" "is=platen" "cs=binary,color,grayscale" "rs=eSCL" "representation=images/printer.png" "UUID=fb90b407-c3d5-fdf3-fb38-d8e9d8dcd065" "mopria-certified=1.3" "note=" "adminurl=http://HPC4651664BDCB.local." "ty=HP DeskJet 2600 series" "pdl=application/octet-stream,application/pdf,image/jpeg" "vers=2.62" "txtvers=1"]

1. What to do with it?
2. Is this usb printing over network but on lan?

Revision history for this message
brian_p (claremont102) said :
#16

> 1. What to do with it?

I wanted it for informational purposes. You do not need to do
anything with it. However, note that those entries like

  wlp5s0 IPv4 DeskJet2620 @ JulienFedoraLegionPC _ipp._tcp local

are print queues you have set up on JulienFedoraLegionPC . They are
not really necessary because the printer is seen directly over the
network and on USB. It's up to you.

> 2. Is this usb printing over network but on lan?
At the moment the printing takes place over the USB bus. If you want
to expose it on the network, see

  interface = loopback # all | loopback

in

  /etc/ipp-usb/ipp-usb.conf

Revision history for this message
Julien Mijnders (no1nspiration-deactivatedaccount) said :
#17

1. If those printer queues are not really necessary, could this at that point be considered as an open port?
If yes, then would that open port be a security risk?> if yes, then my thoughts would say, let's close it.

2. Printing over the USB bus is at this time for me the only thing I need.
If I wanted to expose it on the network, It might interfere with other devices (if I am correct).
Also, it is more network traffic, thus bandwidth. Therefore, I think I'll leave this option out for now.
If I am not correct at some facts above here, then I would consider it an option.

Revision history for this message
brian_p (claremont102) said :
#18

Unless you have a reason to keep the queues in existence they
could be removed:

  lpadmin -x QUEUE_NAME

> 2. Printing over the USB bus is at this time for me the only
> thing I need.

In that case you can consider removing the network queue. Now,
CUPS can only be contacted over USB. That's secure enough I
would say.

Revision history for this message
Julien Mijnders (no1nspiration-deactivatedaccount) said :
#19

Removed the queues which I didn't need, in the future (might the USB way malfunction), I've always got the network option.
For now, it does its thing.

Would be cool to know if there was a function, which just switches the way of working over USB to network and vice versa.
(may printing over USB not work, then it automatically switches to network mode (if that's available), also in the other way around).

Revision history for this message
Manfred Hampl (m-hampl) said :
#20

Remark:

HPLIP 3.23.8 has just been published, and the release notes tell that support for Fedora 38 has been added.