Cannot connect to wireless printer after changing router
I have used a printer (HP Photosmart Plus B210) wirelessly for some time, sending documents to print from both my Mac and iPad. Recently I changed router, and so reconnected my printer (wirelessly) to the new router. The iPad still works perfectly with the printer, but the Mac has stopped doing so. The Mac successfully "found" the printer when I entered the printer's IP address to connect them, but the Mac then states "Unable to verify the printer on your network. Unable to connect to '[printer's IP address]' due to an error". It still gives the option to "create" the printer, but then when I try to print I get a "Printing - the Printer is in use" message (which is incorrect), this message stays indefinitely, and nothing prints. I've tried turning off and on, and also consulting the HP printer manual. If anyone can help, I would be very grateful. Thank you in advance.
MacBook Pro