Question: where do i find the wps pin for my hp officejet 5740?
Answer: To begin with, go to the Settings icon on your HP Officejet 5740 Printer Touch panel.
Then, Go to Network Settings. ... 
Here you can see all the information about your HP Officejet 5740 Printer Network settings.
Also, you can see your printer's WPS PIN here.