I use Debian 11 too. You have an HP LaserJet MFP M28-M31 and I have dealt with this device before. Therefore, I know that it has given much trouble to other users; for example
https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/1811504
Note the uscan output in message #7. Also note #67 onwards.
I think sane-airscan works for scanning. It needs to use Avahi, but I wonder whether mdns is working correctly on your network.
I use Debian 11 too. You have an HP LaserJet MFP M28-M31
and I have dealt with this device before. Therefore, I
know that it has given much trouble to other users; for
example
https:/ /bugs.launchpad .net/ubuntu/ +source/ hplip/+ bug/1811504
Note the uscan output in message #7. Also note #67 onwards.
I think sane-airscan works for scanning. It needs to use Avahi,
but I wonder whether mdns is working correctly on your network.