Click on the start button, select Devices and Printers
Right click on the printer icon and select Remove Device for any printers that use the HP UPD.
Once all icons for the printer being uninstalled have been removed, click on the start button and type printui /s /t2 then press the Enter key.
The Print Server Properties dialogue opens. The dialogue can also be opened from the Devices and Printers folder by selecting any other printer and clicking Print server properties in the top menu bar, then selecting the Drivers tab.