HP Printer not detected

I’ve been very happy with openSUSE so far, but one of the last things I need is to get my printer working. It was picked up with zero effort in Debian and Mint.

I have installed hplip but when I try to auto detect a printer nothing is found.

My printer is a HP M251NW and it is connected via LAN.

Thanks!

Make sure HPLIP is installed first

https://software.opensuse.org/search?q=hplip&baseproject=openSUSE%3A13.2&search_devel=false&search_unsupported=false

Then run

hp-setup

to configure.

I run that command with the -i option and then select net as connection type and I get this error:

No device selected/specified or that supports this functionality.

Not letting me edit my last post for some reason.

I am able to ping the printer’s IP address from openSUSE and I just tested it in windows and it works just fine.

Okay, try dropping the firewall temporarily while installing.

systemctl stop SuSEfirewall2.service

On Fri 03 Apr 2015 12:16:12 AM CDT, zetsubou wrote:

Not letting me edit my last post for some reason.

I am able to ping the printer’s IP address from openSUSE and I just
tested it in windows and it works just fine.

Hi
You also need to ensure cups service is enabled and running…


systemctl status cups.service
systemctl enable cups.service
systemctl start cups.service


Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.38-44-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

Run hp-setup. In the first window, “Device Discovery”, select the Network button, then click Show Advanced Options. In that area, check Manual Discovery, then type the printer’s IP address and click Next.

That has always worked for me.

Regards,
Howard

Yes, manual configuration is always an option, (assuming that no other problem exists).

I note that you can ping the printer, however I suggest you pay close attention to the ping times. I have a cp1025nw that, when connected with WIFI, I can ping and get results like these.

:~> ping 192.168.12.107
PING 192.168.12.107 (192.168.12.107) 56(84) bytes of data.
64 bytes from 192.168.12.107: icmp_seq=1 ttl=255 time=12.1 ms
64 bytes from 192.168.12.107: icmp_seq=2 ttl=255 time=815 ms
64 bytes from 192.168.12.107: icmp_seq=3 ttl=255 time=2.96 ms
64 bytes from 192.168.12.107: icmp_seq=4 ttl=255 time=1.97 ms
64 bytes from 192.168.12.107: icmp_seq=5 ttl=255 time=3.08 ms
64 bytes from 192.168.12.107: icmp_seq=6 ttl=255 time=2.22 ms
64 bytes from 192.168.12.107: icmp_seq=7 ttl=255 time=2.96 ms
64 bytes from 192.168.12.107: icmp_seq=8 ttl=255 time=799 ms
64 bytes from 192.168.12.107: icmp_seq=9 ttl=255 time=1.98 ms
64 bytes from 192.168.12.107: icmp_seq=10 ttl=255 time=1.96 ms
64 bytes from 192.168.12.107: icmp_seq=11 ttl=255 time=1.97 ms
64 bytes from 192.168.12.107: icmp_seq=12 ttl=255 time=3.71 ms
64 bytes from 192.168.12.107: icmp_seq=13 ttl=255 time=10.9 ms
64 bytes from 192.168.12.107: icmp_seq=14 ttl=255 time=804 ms
64 bytes from 192.168.12.107: icmp_seq=15 ttl=255 time=1.93 ms
64 bytes from 192.168.12.107: icmp_seq=16 ttl=255 time=2.45 ms
64 bytes from 192.168.12.107: icmp_seq=17 ttl=255 time=1.96 ms
64 bytes from 192.168.12.107: icmp_seq=18 ttl=255 time=1.91 ms
64 bytes from 192.168.12.107: icmp_seq=19 ttl=255 time=3.04 ms
64 bytes from 192.168.12.107: icmp_seq=20 ttl=255 time=796 ms
64 bytes from 192.168.12.107: icmp_seq=21 ttl=255 time=1.97 ms
64 bytes from 192.168.12.107: icmp_seq=22 ttl=255 time=9.95 ms
^C
--- 192.168.12.107 ping statistics ---
22 packets transmitted, 22 received, 0% packet loss, time 21021ms
rtt min/avg/max/mdev = 1.914/149.324/815.285/308.642 ms

Note the occassional ping of 800 ms more or less. That’s apparently enough delay to trigger a “device not found”.

But, when I connect the printer directly to the router with a Cat 5 cable I get.

:~> ping 192.168.12.107
PING 192.168.12.107 (192.168.12.107) 56(84) bytes of data.
64 bytes from 192.168.12.107: icmp_seq=1 ttl=255 time=1.03 ms
64 bytes from 192.168.12.107: icmp_seq=2 ttl=255 time=1.26 ms
64 bytes from 192.168.12.107: icmp_seq=3 ttl=255 time=1.07 ms
64 bytes from 192.168.12.107: icmp_seq=4 ttl=255 time=1.12 ms
64 bytes from 192.168.12.107: icmp_seq=5 ttl=255 time=64.0 ms
64 bytes from 192.168.12.107: icmp_seq=6 ttl=255 time=1.12 ms
64 bytes from 192.168.12.107: icmp_seq=7 ttl=255 time=1.11 ms
64 bytes from 192.168.12.107: icmp_seq=8 ttl=255 time=1.56 ms
64 bytes from 192.168.12.107: icmp_seq=9 ttl=255 time=1.10 ms
64 bytes from 192.168.12.107: icmp_seq=10 ttl=255 time=1.85 ms
64 bytes from 192.168.12.107: icmp_seq=11 ttl=255 time=1.73 ms
64 bytes from 192.168.12.107: icmp_seq=12 ttl=255 time=2.30 ms
64 bytes from 192.168.12.107: icmp_seq=13 ttl=255 time=1.46 ms
64 bytes from 192.168.12.107: icmp_seq=14 ttl=255 time=9.29 ms
64 bytes from 192.168.12.107: icmp_seq=15 ttl=255 time=6.76 ms
64 bytes from 192.168.12.107: icmp_seq=16 ttl=255 time=13.6 ms
64 bytes from 192.168.12.107: icmp_seq=17 ttl=255 time=1.08 ms
64 bytes from 192.168.12.107: icmp_seq=18 ttl=255 time=1.10 ms
64 bytes from 192.168.12.107: icmp_seq=19 ttl=255 time=1.08 ms
64 bytes from 192.168.12.107: icmp_seq=20 ttl=255 time=1.10 ms
64 bytes from 192.168.12.107: icmp_seq=21 ttl=255 time=1.08 ms
64 bytes from 192.168.12.107: icmp_seq=22 ttl=255 time=1.12 ms
^C
--- 192.168.12.107 ping statistics ---
22 packets transmitted, 22 received, 0% packet loss, time 21030ms
rtt min/avg/max/mdev = 1.033/5.325/64.067/13.198 ms

And the printer is now detected.

This worked. Thank you!