The best opti0on is to completely uninstall the printer and restart your PC, then go to the support page for your printer on the HP website to download and install the version of printer drivers, firmware and associated software they provide for your printer model.
https://support.hp.com/ie-en/drivers/hp-officejet-pro-6230-eprinter-series/model/5390319
.
.
.
Standard Disclaimer: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.