HP Color Laser MFP 179fnw cannot install scanner

Running on KDE platform and am trying to set up a new printer which is set up with a static IP on my subnet. I have downloaded and installed the HP drivers from HP Color Laser MFP 179fnw Software and Driver Downloads | HP® Customer Support.
This package includes scanner and printer drivers and once these were installed with the install.sh provided I was able to set up the printer using Yast.

Note I could not use the add printer button and HP-setup on this machine even with firewall disabled. To install the printer I had to use System>Print Settings (which runs system-config-printer) add a new printer and then select network printer.

I was offered two versions of the specific driver and also the option to find the printer using the APPSocket/HP JetDirect. Since I have always previously used this method to connect to my network printers I used this, which allowed me to enter the IP. It uses port 9100.

Once installed I was able to tweak the printer settings from Yast>Hardware>Printer as the new printer then appeared there.

Unfortunately, Yast>Hardware>Scanner does not work for me even using manual discovery and using the static ip address. Nothing else I have tried works reliably here.

Where am I going wrong please?

Please start by showing the configured printer URI…

lpstat -t

If you are using the HPLIP (hpaio) scanner driver, then the correct HPLIP printer URI needs to be in use.

Hi Dino,
Thanks for the message. Here is what I have:-

alastair@ibmserv2:~> lpstat -t
scheduler is running
system default destination: HP_LaserJet_600_M602
device for CUPS-PDF: cups-pdf:/
device for HP-Color-Laser-MFP-17x: ipp://192.168.169.141
device for HP_LaserJet_600_M602: hp:/net/HP_LaserJet_600_M602?ip=10.110.169.8
CUPS-PDF accepting requests since Thu 07 Oct 2021 14:23:08 BST
HP-Color-Laser-MFP-17x accepting requests since Mon 06 Feb 2023 14:40:10 GMT
HP_LaserJet_600_M602 accepting requests since Mon 06 Feb 2023 12:29:50 GMT
printer CUPS-PDF is idle.  enabled since Thu 07 Oct 2021 14:23:08 BST
printer HP-Color-Laser-MFP-17x is idle.  enabled since Mon 06 Feb 2023 14:40:10 GMT
printer HP_LaserJet_600_M602 is idle.  enabled since Mon 06 Feb 2023 12:29:50 GMT
alastair@ibmserv2:~> 

I have re-installed the printer to ensure the correct PPD driver is installed and printing is not a problem but I am stuck for what to enter when trying to use the Yast>Hardware>Scanner tool. If I use the simple Add button I get the encyclopaedic list of scanners but not the one I want. The driver is installed by the hp downloaded script but I cannot find it yet.
If I use the Other tab and try running hp-setup I get:-

HP Linux Imaging and Printing System (ver. 3.22.10)
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.

error: No devices found on bus: net
error:  HPLIP cannot detect printers in your network.  This may be due to existing firewall settings blocking the required ports.
                When you are in a trusted network environment, you may open the ports for network services like mdns and slp in the firewall. For detailed steps follow the link.
                 https://developers.hp.com/hp-linux-imaging-and-printing/KnowledgeBase/Troubleshooting/TroubleshootNetwork 

I get this issue even with the firewall stopped and hplip cannot detect printers in my network. This is odd since two HP printers are installed and working.

Ok, so that confirms that you’re not using HPLIP for the HP-Color-Laser-MFP-17x printer. I note that HP does offer a SANE driver for scanning, but it is too new for openSUSE Leap 15.4, and I’m not sure if this model is supported by any existing SANE drivers. Newer hardware should be airscan capable.

What is reported via the following command?

scanimage -L

Hi Dino,
Here is the result of your command:-

alastair@ibmserv2:~> scanimage -L

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
alastair@ibmserv2:~> 

FYI I was able to set up and scan from this machine yesterday but in trying to reproduce it lost the lot. Bottom line is that I was able to scan or at least have the scanner installed and found ready to scan using Skanlite, which I interpret to mean that the software is here in my machine somewhere.

I’m not sure why no network scanner is currently detected. I assume that you made no manual configuration (of any /etc/sane.d/*.conf file)? You could try again with the firewall disabled perhaps.

I have made most attempts with firewall stopped without success. I have also tried a couple of edits of the .conf files but restored them to what had been there when I started as there were no changes.

I have just now gone to my HP-Z640-1 computer which is in my room not the office. The only difference I could see and now need to check is that the printer driver url is [uld-hp/HP_Color_Laser_MFP_17x_Series.ppd].

Using the Yast>Hardware>Scanner I can see the driver has smfp below it and this took me to an interesting thread:-

https://forums.debian.net/viewtopic.php?t=146263

Well above my paygrade but interesting. Will go back to my setup and check more details. I appreciate this thread is concerned with a slightly different printer model but they all come from Samsung!

Not really. HP acquired Samsung printer business several years back.

Not sure what else to advise here. You reported that ‘scanimage -L’ finds no scanner device, even when the firewall is disabled.

Does Avahi report an airscan-capable device? (You may need to install ‘avahi-utils’ package first)

avahi-browse -rt _uscan._tcp

Hi Dino, yes it does and also your command has at at last found the printer:-

alastair@ibmserv2:~> avahi-browse -rt _uscan._tcp
+   eth0 IPv4 HPC018039F6646 (HP Color Laser MFP 178 179)   _uscan._tcp          local
=   eth0 IPv4 HPC018039F6646 (HP Color Laser MFP 178 179)   _uscan._tcp          local
   hostname = [HPC018039F6646.local]
   address = [192.168.169.141]
   port = [80]
   txt = ["mopria-certified-scan=1.2" "duplex=F" "is=platen,adf" "cs=color,grayscale,binary" "rs=eSCL" "representation=http://HPC018039F6646.local./images/printer-icon128.png" "vers=2.63" "UUID=16a65700-007c-1000-bb49-c018039f6646" "adminurl=http://HPC018039F6646.local./sws/index.html?link=/sws/app/settings/network/AirPrint/AirPrint.html" "pdl=application/pdf,image/jpeg" "ty=HP Color Laser MFP 178 179" "note=" "txtvers=1"]
alastair@ibmserv2:~> 

Now what?

I have found the printer as may be seen above but have still not been able to get this information to work. Tried many variations using HP-Setup but always resulted in a popup:-

HPLIP cannot detect printers in your network.
This may be due to existing firewall settings blocking the required ports. When you are in a trusted network environment, you may open the ports for network services like mdns and slp in the firewall. For detailed steps follow the link. https://developers.hp.com/hp-linux-imaging-and-printing/KnowledgeBase/Troubleshooting/TroubleshootNetwork

Tried all the suggestions from the link but still nothing.

Tried Scanning via Network and have tried many options but I really am not sure how I should be filling in the boxes.
Please can somebody give me a hand?
Budge

It’s not an HPLIP-supported device. It is supported by the ULD package (as per the HP link in your first post). Anyway, the Avahi output shows that it also advertises ‘driverless’ scanning capability, typical of modern multifunction network devices. Usually, no explicit configuration would be required, but I’m not sure how well the SANE version in Leap 15.4 handles such devices via its ‘sane-escl’ backend. I would have expected ‘scanimage -L’ to detect the network-connected scanner.

If you refer to the man page and the relevant config file…

man sane-escl
cat /etc/sane.d/escl.conf

…you will see that it is possible to configure /etc/sane.d/sane-escl.conf with an entry pertaining to your network scanner device.

Something like the following added to escl.conf might suffice…

device http://192.168.169.141:80 "HP Laser MFP 179fnw"

then try scanning with your preferred scanner application…but no promises. It might take a bug report to help progress.