I understand you are not able to connect the printer and the MAC. Let's try the below steps to see if that helps -
1.) Remove All Barriers: Certain building materials can get in the way of weaker signals like Bluetooth. Metal, bulletproof glass, concrete, and plaster are particularly bad, and marble, plaster and brick aren’t great easy. So if you’re really struggling with interference, your first step should be to move your Bluetooth devices away from these materials. That means no brick walls between you and your devices, and definitely no metal desks!
2.) Change Router Channel: If you have an Apple router and you’re constantly getting interference with your WiFi, try rebooting it. Upon restart, the station will search for a new channel. Specifically, a different channel than the one your Bluetooth devices is using to communicate. If you don’t have an Apple router, you may need to instead go into your router settings and try changing the channel manually. Experiment with different channels to see which one works best.
3.) Move Closer to Your Router: If you often find that you’re getting interference when talking on a wireless headset while on a WiFi call (you’ll know because you’ll hear static), try moving closer to your router. This will give you a more robust WiFi connection, so the Bluetooth frequency can’t overpower it.
4.) Get Away From Microwaves and Fluorescent Lighting: Both emit frequencies of 2.4GHz, and moving away from them will distance you from the source.
Restart the wireless router, the printer, and the MAC
On the printer screen, go to Setup > Network Setup > Restore network settings
Go back to Network > Wireless > Wireless setup wizard and select your network.
Make sure the printer and the MAC are connected to the same wireless network.
If you have a Dual-band router and both 2.4GHz and 5GHz networks share the same name/SSID, the printer will not be able to connect to the network. In this case, contact your Internet service provider to assign different names to both the networks.
The wireless status menu on your Mac should also give us quite a lot of information that would help us identify the issue. You can press and hold the option key on your keyboard and click the WiFi icon to get detailed information.
Also, check with your Internet service provider if your router is able to forward 'Bonjour packets'.
Bonjour locates devices such as printers, other computers, and the services that those devices offer on a local network using multicast Domain Name System (mDNS) service records. The software comes built-in with Apple's macOS and iOS operating systems.
Hope this helps! Keep me posted.
Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!
Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".