On the printer control panel, touch (Wireless), and then touch Settings.
Touch Wi-Fi Protected Setup, and then follow the on-screen instructions.
When prompted, touch PIN. The WPS PIN appears on the display.
Open the configuration utility or software for the wireless router or wireless access point. Read more : wps pin for hp printer