To connect your HP OfficeJet 5255 printer wirelessly, first, ensure your printer and Wi-Fi network are powered on. On the printer, go to the control panel and tap Wireless or Setup, then select Wireless Setup Wizard. Follow the on-screen prompts to choose your Wi-Fi network and enter the password if required.
Next, download and install the HP Smart app on your computer or mobile dev... https://123hp-setup-com.us/blog/how-do-i-connect-my-hp-officejet-5255-printer-wireless-setup/