Press and hold the Network / Wireless button (depends on the exact model)
Now press the Resume button three times
Finally, release Network / Wireless button.
The Power light should blink for a few seconds. After the Power light stops blinking and is on solid, the printer's network configuration should be restored to the factory settings.