Question: Have you tried unplugging the unit from the wall and disconnecting the cord from the printer?
Shutdown the printer
Unplug the cords from the Printer & the Wall
Leave out for about 2 minutes then plug the wall plug in then the printer plug
Turn printer on and retry wireless print on both printes.
Officejet 6970 - Check these steps
HP OfficeJet 6960 and 6970 Printers - Wireless Printer Setup (Windows)
LaserJet M281 - Check these steps
https://support.hp.com/us-en/document/c05631305
There are links at the bottom for more troubleshooting in each document.
Note: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.