Hi,
You may try installing the HP Universal Printer Driver PCL5 driver by performing the following steps and check if it helps.
1. Please access www.hp.com/go/upd
2. Then, select Download Software.
3. Now, please select the Operating System that you are using from the list.
4. Then, please download the HP Universal Printer Driver for PCL5 from the list.
5. Next, install the Driver in the Computer and check if you are able to print.
All the Best !!!!
Regards,
Annapurneswara