Hp-setup can't find printer that works fine under cups

OS: Fedora Workstation 43
Printer: HP Color Laser MFP 179fwg
Connections tried: Ethernet, Wifi and USB

So this is a bit of a head scratcher for me. Doesn’t help that it’s my first time dealing with hplip.

Printing worked fine out of the box without any additional setup but the printer’s owner wants to use the fax function (welcome to Germany) so I installed hplip.

sudo dnf sudo dnf install hplip hplip-gui

Then I gave the printer a static IP and tried running the setup.

hp-setup printers.static.ip

and get an error that the printer couldn’t be found. So I checked the network. I could reach the printers browser interface under the static ip and printing with the system dialogue still worked.

So I tried a direct usb connection. Same result.

So I checked the official resource for troubleshooting: Troubleshoot Network Issues | hp's Developer Portal

First recommendation was to check snmpwalk gives the correct response:

snmpwalk -Os -c public -v 1 ip.address.of.printer 1.3.6.1.4.1.11.2.3.9.1.1.7.0

Did that, got the expected result.

Next step was opening some ports: 161 (udp and tcp), port 162 (udp and tcp) and port 9100 (udp and tcp)

So I ran

sudo firewall-cmd --permanent --add-port=x/y

for all of those. hp-setup still can’t find the printer and that’s where I’m currently at.

:rofl::see_no_evil_monkey::wrapped_gift:. Today at work I saw them throw out the fax machine, I think it’s gonna be replaced with a new one :joy:.

I have no idea, just guessing, could be a permission thing.
Have you tried

sudo hp-setup

?
Is your user part of the right group?
Have you tried with SELinux disabled?
Does hp-setup produce any logs? journalctl?
Any feedback from command line when you launch it from there?

I tried sudo hp-setup and it made no difference. According to Brother it’s recommended to run hp-setup as user and it will ask for elevated privilege where necessary.

I’ll try running it with SELinux disabled and check for logs tomorrow as I don’t have access to the computer right now.

Is this a driverless printer? If so you would not need to run hp-setup.
My MFP-M282 was easy to add to my KDE desktop in the KDE system setting.

Maybe try the Gnome settings printer setup instead?

1 Like

Printing and maybe scanning may work out of the box but afaik, to setup fax you need to run hp-setup.

Printing via Gnome worked fine but like Flo said: The fax function requires HP software as far as I can tell.

Does a one need FAX these days?

How much time and interest do you have when it comes to a rant about the state of communication technology in Germany? Because there isn’t really an easy answer to your question.

Active firewall that is blocking the connection?

I opened the ports Brother recommends: 61 1(udp and tcp), port 162 (udp and tcp) and port 9100 (udp and tcp).

If you know of any others, I’ll gladly try them out. Tomorrow, I’ll have access to the amchine in question again so i could also just shut down firewalld for a bit.

It looks like HP’s Supported Printer Page says “No” to “PC Send Fax” for your printer, with the note "Fax supported means that PC initiated fax send is supported using hp-sendfax, once an appropriate CUPS fax queue is set up. Fax support varies on Linux distributions, based on the availability of python-dbus version 0.80 or greater (versions before 0.80 will not work with HPLIP). "

It’s worse. The printer isn’t even listed. Sorry for wasting everybody’s time…

I did a bit of a deep dive on this and apparently the 170 series was a Samsung development. When HP acquired Samsungs’s printer department, they just gave those printers a face lift and relabled them but they’re still running Samsung tech.

Next week I’ll try to find some Samsung utils and make them work. So I’m not closing this topic yet.

Hmm… I thought the M179cfw was the same as your printer?

Good luck! Please do post back with your results.

Have you checked HP’s support pages? There you can download an unified linux driver (uld) package for fedora linux.
Maybe install that in a container?

tar tvf uld-hp_V1.00.39.12_00.15.tar.gz  |grep ppd
drwxrwxr-x builder/builder       0 2020-06-11 14:24 uld/noarch/share/ppd/
drwxrwxr-x builder/builder       0 2019-11-29 05:59 uld/noarch/share/ppd/cms/
-rwxrwxr-x builder/builder 1150644 2019-11-29 05:59 uld/noarch/share/ppd/cms/17xsc.cts
-rwxrwxr-x builder/builder 1150644 2019-11-29 05:59 uld/noarch/share/ppd/cms/15xsc.cts
-rwxrwxr-x builder/builder   45057 2019-11-29 05:59 uld/noarch/share/ppd/cms/10xsc.cts
-rwxrwxr-x builder/builder   45057 2019-11-29 05:59 uld/noarch/share/ppd/cms/13xsc.cts
-rwxrwxr-x builder/builder   39796 2020-06-11 14:20 uld/noarch/share/ppd/HP_Laser_MFP_13x_Series.ppd
-rwxrwxr-x builder/builder   37069 2019-11-29 05:59 uld/noarch/share/ppd/HP_Color_Laser_15x_Series.ppd
-rwxrwxr-x builder/builder   37843 2019-11-29 05:59 uld/noarch/share/ppd/HP_Color_Laser_MFP_17x_Series.ppd
-rwxrwxr-x builder/builder   39786 2020-06-11 14:20 uld/noarch/share/ppd/HP_Laser_10x_Series.ppd