To install the basic drivers for your printer onto a laptop, download and run this file:
https://ftp.hp.com/pub/softlib/software12/COL47817/mp-115841-6/EN5530_Basicx64_198.exe
To install the other software associated with your printer (which isn't actually required for basic printing), download and run this file:
https://ftp.hp.com/pub/softlib/software13/COL39376/lj-166432-4/HPEPrintAppSetupx64.exe
To connect your printer to your router (from where, in turn, it can connect to your laptop), press the Wireless button on your printer and hold it in until the light starts flashing. Then, within 2 minutes, press the WPS button on your router. (That, of course, assumes that your router has got a WPS button; most have nowadays. It also assumes that you're not trying to use 'wireless direct', which bypasses your router but can add unnecessary complications. If either of those doesn't apply, please post again).