Can you first confirm if you can print from another device, such as your phone? It is important to narrow down to see i we are troubleshooting the printer, or the connection between the printer and this particular laptop.
If the issue is between the printer and this laptop ONLY, did HP support have you download and install this printer driver? https://support.hp.com/us-en/drivers/swdetails/hp-envy-inspire-7200e-series/model/2100993007/swItemId/mp-366488-3
If not, please do so, and let me know how it goes.