https://edu.glogster.com/glog/install-hp-printer-on-windows-10/43aguf34oss/
Now go to Control panel – Devices and printer – Select all the printer entries and remove the device.
Here you need to unplug the USB cable from the printer. Then follow these steps Go to Control panel, again go to Programs and feature, Select all the HP printer entries and uninstall them