@leviyang
Welcome to the HP Support Community.
Try a firmware update: https://support.hp.com/in-en/document/ish_1776648-1643972-16
If the issue persists, create a TCP IP port
1. Print a Configuration Page to get the printer's IPv4 address (you can also tap on the wireless icon on the front panel of your Printer to get the IP address)
2. On your PC, go to Control Panel, from Devices and Printers, right-click the printer and left-click Printer Properties, select the Ports tab.
3. Click Add Port, select Standard TCP/IP Port, then select New Port and follow the wizard.
4. Type in the proper IP address for the printer.
This video resource will show you how to do it:
Create & Use TCP IP port
Let me know if this helps.
If the information I've provided was helpful, give us some reinforcement by clicking the Accepted Solution and Kudos buttons, that'll help us and others see that we've got the answers!
Thanks!
Have a great day!