The newer routers have firewalls that block things like printers. I don't know you router settings but ran into this over a year ago. I added it to the networking forum sticky at link:
Read https://www.cnet.com/forums/post/186ddf84-c102-49c4-b885-4cce74bfeb92/
WIN 7 system using an HP 6988 printer. I have moved and am now using a new ISP (Time Warner Cable). I have connected a remote laptop using Wi-Fi which was on the previous network, but cannot reconnect the printer. I have hardwired it in which works for my desktop computer, but the printer no longer recognizes the laptop or any other device on Wi-Fi. How do I correct problem?