There have been a number of suggestions made. Many of them have not worked (at least for me). For scanning, have a look at a MacOS program called "VueScan" . I've used this for years with an old scanner that's not supported by the manufacturer. It does work with Big Sur and the Deskjet 1055 scanner. I haven't found a way to get the printer to work even with trying most of the suggestions found here.
Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".