Hmm.. says you need to have 2.4 GHz band enabled ( for the Wifi) and that it has sufficient strength… assuming Wifi is Enabled, hold down option key & click on wifi icon to get info on your wifi network.. frequency, channel ( if have trouble, maybe trash old wifi network, make new one with different channel or see if network> wifi>>advanced prefs gets you anywhere ) and strength… for printer… wireless or setup menu.. network setup, restore network settings.. oh-hoh!! Found a firmware update for your printer; https://support.hp.com/ca-en/drivers/hp-officejet-8010e-all-in-one-printer-series/model/2100184671.., maybe don’t run it if you don’t have an hp ink cart in there… it’ll block ‘em… boy, HP is sure pushing this ink thing pretty hard!! … that’s where the money is ( lots of it) … it also mentions HP Smart app… for everything..no individual drivers seem to be available… just HP smart… maybe try using AirPrint… sorry, I tried…
John b