You are not logged in.
I bought an HP Color Laser MFP 178nw printer and connected it to the router via wifi.
It is reachable using both IP and hostname ping:
$ ping -c 4 192.168.1.12
PING 192.168.1.12 (192.168.1.12) 56(84) bytes of data.
64 bytes from 192.168.1.12: icmp_seq=1 ttl=255 time=1.78 ms
64 bytes from 192.168.1.12: icmp_seq=2 ttl=255 time=1.73 ms
64 bytes from 192.168.1.12: icmp_seq=3 ttl=255 time=4.35 ms
64 bytes from 192.168.1.12: icmp_seq=4 ttl=255 time=1.46 ms
--- 192.168.1.12 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 1.458/2.328/4.346/1.171 ms
$ ping -c 4 HP508140DFCDBC.local
PING HP508140DFCDBC.local (192.168.1.12) 56(84) bytes of data.
64 bytes from HP508140DFCDBC.local (192.168.1.12): icmp_seq=1 ttl=255 time=1.60 ms
64 bytes from HP508140DFCDBC.local (192.168.1.12): icmp_seq=2 ttl=255 time=1.53 ms
64 bytes from HP508140DFCDBC.local (192.168.1.12): icmp_seq=3 ttl=255 time=1.42 ms
64 bytes from HP508140DFCDBC.local (192.168.1.12): icmp_seq=4 ttl=255 time=1.43 ms
--- HP508140DFCDBC.local ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3006ms
rtt min/avg/max/mdev = 1.422/1.495/1.603/0.073 ms
I use systemd-resolved no avahi.
$ resolvectl status
Global
Protocols: +LLMNR +mDNS -DNSOverTLS DNSSEC=no/unsupported
resolv.conf mode: stub
Fallback DNS Servers: 1.1.1.1#cloudflare-dns.com 9.9.9.9#dns.quad9.net 8.8.8.8#dns.google 2606:4700:4700::1111#cloudflare-dns.com
2620:fe::9#dns.quad9.net 2001:4860:4860::8888#dns.google
Link 2 (Internet)
Current Scopes: DNS LLMNR/IPv4 mDNS/IPv4
Protocols: +DefaultRoute +LLMNR +mDNS -DNSOverTLS DNSSEC=no/unsupported
Current DNS Server: 192.168.1.1
DNS Servers: 192.168.1.1
But hp-setup doesn't detect the printer (even if I specify the IP):
$ hp-setup -gi
HP Linux Imaging and Printing System (ver. 3.22.6)
Printer/Fax Setup Utility ver. 9.0
Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
hp-setup[10958]: debug: param=
hp-setup[10958]: debug: selected_device_name=None
(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)
--------------------------------
| SELECT CONNECTION (I/O) TYPE |
--------------------------------
Num Connection Description
Type
-------- ---------- ----------------------------------------------------------
0* usb Universal Serial Bus (USB)
1 net Network/Ethernet/Wireless (direct connection or JetDirect)
2 par Parallel Port (LPT:)
Enter number 0...2 for connection type (q=quit, enter=usb*) ? 1
Using connection type: net
hp-setup[10958]: debug:
DEVICE CHOOSER setup_fax=True, setup_print=True
hp-setup[10958]: debug: getDeviceUri(None, None, ('hp',), None, , True)
hp-setup[10958]: debug: Mode=0
error: No device selected/specified or that supports this functionality.
$ hp-setup -gi 192.168.1.12
HP Linux Imaging and Printing System (ver. 3.22.6)
Printer/Fax Setup Utility ver. 9.0
Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
hp-setup[11064]: debug: param=192.168.1.12
hp-setup[11064]: debug: selected_device_name=None
(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)
hp-setup[11064]: debug: Cache miss: hp_color_laser_mfp_178_179
hp-setup[11064]: debug: Reading file: /usr/share/hplip/data/models/models.dat
hp-setup[11064]: debug: Searching for section [hp_color_laser_mfp_178_179] in file /usr/share/hplip/data/models/models.dat
--------------------------------
| SELECT CONNECTION (I/O) TYPE |
--------------------------------
Num Connection Description
Type
-------- ---------- ----------------------------------------------------------
0* usb Universal Serial Bus (USB)
1 net Network/Ethernet/Wireless (direct connection or JetDirect)
2 par Parallel Port (LPT:)
Enter number 0...2 for connection type (q=quit, enter=usb*) ? 1
Using connection type: net
hp-setup[11064]: debug:
DEVICE CHOOSER setup_fax=True, setup_print=True
hp-setup[11064]: debug: getDeviceUri(None, None, ('hp',), None, , True)
hp-setup[11064]: debug: Mode=0
error: No device selected/specified or that supports this functionality.
However if I use the Plasma KDE add printer application it does detect it, although only for the IP and an error appears on top that I don't know what it means:
I have another HP laser printer connected by wifi that hp-setup was able to add and configure correctly:
Last edited by j1simon (2022-07-01 13:32:56)
Offline
Does installing hpuld help?
Offline
Does installing hpuld help?
I've installed it but it didn't help. I'm going to contact with HP Support.
Offline
maybe the commands mentioned in https://bugs.launchpad.net/hplip/+bug/1863316 help ?
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
maybe the commands mentioned in https://bugs.launchpad.net/hplip/+bug/1863316 help ?
driverless command returns nothing.
Offline
I was able to add it using the Plasma printer configuration application and assigning a fixed IP to this printer in the router. But hp-setup is supposed to be the recommended way to add printers and it still doesn't detect it. In fact, I bought an HP printer instead of another brand because of its support for Linux and now I'm disappointed... I am thinking of returning it.
Offline
Well, your model does not seem to be supported by hplip as you can see here or here.
Adding the printer via http://localhost:631 and manually selecting the "HP_Color_Laser_MFP_17x_Series.ppd" driver installed by the hpuld AUR package should work though.
Glad you got it to work already!
Offline
I use systemd-resolved no avahi.
https://wiki.archlinux.org/title/CUPS#Network indicates systemd-resolved doesn't support what is needed to discover printers.
Did you try installing & configuring avahi to verify if the issue is/was software related ?
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline