If you can't ping the printer, need to check it why it's not connecting. If you print a test page, does it show a valid IP for the wifi, like 192.x.x.x or 10.x.x.x? Did you run the wifi setup on the printer to connect it?
Does not sound like a Windows issue at all, and probably not a router issue, need to check the printer config first to see if it's even connected to your WiFi and go from there.