In order to solve this problem, configure a new port as follows:
On the keyboard, press the Windows logo key and the R key simultaneously. The Run window opens.
Type control printers, then press Enter. The Devices and Printers window opens.
Right-click on your printer icon, then click on Printer properties, click on the Ports tab, and click on Add Port....
Select Standard TCP/IP Port and click New Port....
Click Next, then enter the printer's IP address (e.g. 192.168.1.97) in the Printer Name or IP Address field and click Next.
Once the port is added, click Finish and close all windows.
Try to print.
I remain at your disposal in case of need.
I'm not an HP employee. Did this message answer your question? Include it below as an Accepted Solution! Did you find this message useful? Click on the thumbs up set to give a Compliment! Follow us on Facebook Assistance customers HP.