Thanks for engaging in HP support Forums! This is a wonderful location to converse with the community, get assistance and find tips! I see that you are having issues while installing the printer. Don't worry I'll be glad to help you with this.
To provide you with an accurate solution, I'll need a few more details:
Could you provide me with the Operating system installed on the PC? Is it Windows or Mac
Have you tried to uninstall and reinstall the printer drivers?
In the meantime, let's try these steps here:
First, unplug the USB cable from the printer if present.
Go to Control panel – Programs and feature – Select all the HP Envy printer entries and uninstall them.
Now go to Control panel – Devices and printer – Select all the printer entries and remove the device.
Press the "windows key" + "r" to get the "Run" window open - Type "printui.exe /s" (There is a space between .exe & /) and press enter.
Under print server properties, go to drivers - remove any entry there as well.
Again, go to the Run window, type – “c:/programdata” – Go to Hewlett Packard folder, remove any printer related folders & files.