To fix HP printer not connecting to wifi, you are supposed to make sure that paper is loaded in the main tray and then turn on the printer. Now, from the wireless or setup menu, you can simply select network setup or settings and then select restore network. Now, you can get the network name and password. Go to find the wireless network password and then connect an HP Printer for more information.