Make sure the printer is not connect with a USB cable.
If you are using a wireless router, check your router’s documentation or support website to make sure it meets the following requirements:
Check the router band: Many routers can operate in both 2.4 GHz and 5.0 GHz frequency bands, but not all HP printers support both bands. Make sure the 2.4 GHz router band is enabled and broadcasting. If the router broadcasts separate network names (SSIDs) for each band, connect the printer to the 2.4 GHz band SSID. If the printer supports 5.0 GHz, connect it to the 5.0 GHz band SSID.
Bonjour support (Mac only): HP recommends routers that support Bonjour, Apple's network discovery software. Connecting with Bonjour is the best way to find the printer and support wireless printing.
Make sure your printer is not connected to a guest or host network, such as those networks found in schools, hotels, or home networks that allow guest logins. For more information see Can't Print on a Guest or Host Network.
Confirm the printer is connected to the network.
Wireless network connection: On the printer, open the Wireless Network or Settings menu to verify the wireless feature is turned on, and then make sure the Wireless icon light is solid and blue.
If the wireless light is blue and blinks, move the computer and printer closer to the router, position the devices away from large metal objects such as bookcases, and move the printer away from devices that emit radio signals such as microwaves and cordless phones. Reconnect the printer to your network, and then make sure the wireless light is blue and solid. If your printer frequently drops the wireless connection, go to Printer Does Not Maintain Wireless Connection for detailed troubleshooting steps.
Wired (Ethernet) network connection: Check that the cable is connected to the printer Ethernet port and to an available port on the router. The green link light should be steady, and the orange activity light should blink when the cable is connected.
Regards,
Bruce