Kindly follow these steps:
First, check the connectivity between the devices.
Install the printer using Windows built-in driver
Refer to this document to know how. Try printing.
Refer to this document HP printer setup (Windows built-in driver) for help.
HP does not manufacture this model printer anymore. There is no update on when a revised software will be released.
Keep me posted for any other assistance.