HPLIP cannot detect printers in your network

First: does the printer respond to ping? eg
$ ping [nameofprinter]
If that fails, the devicemanager probably fails for this reason, there is no connection or name is not correct.

Make sure to follow the HP instructions to add the printer to the network.
Some guidance: