If scanner is not working but printer is working, follow these instructions i.e. update driver, restart Windows service, etc.
Technobezz and other guides outline how HP DeskJet 4255e printers can fail to connect to Wi-Fi due to 2.4 GHz band limits, WPA3-only security, and router configurations. Recommended fixes include ...