When this message displays, the PIN is temporarily shown on the printer touchscreen or is on an information sheet that automatically prints. You have a short time (90 seconds for many models) to enter the PIN before it becomes invalid. Restarting the computer and going through the printer setup process again generates a new PIN.
If you cannot complete the setup with the WPS PIN, click Cancel and install the HP Smart app instead. During the installation, you are prompted to set up the printer connection.
You can refer this HP document for more assistance:- Click here
I hope that helps.
To thank me for my efforts to help you, please mark my post as an accepted solution so that it benefits several others.
Sandytechy20 I am an HP Employee
Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".