Came here to say this. Many old printers from HP don't work anymore not due to planned obelescence (which is another problem) but due to sheer incompetence.
Their web interface allows setting "important" details only via SSL even though their firmware doesn't even have a password or login access feature. The web app will redirect constantly using location headers if you try to use some settings views in the web app via http.
Nowadays you cannot use those printers anymore because all Browsers mark them as an insecure context, and therefore are blocking POST XHR requests to manually allowed and installed certificates.
So, we now have a generation of tech that made itself useless due to Browser behavior changes and there's no way to fix it without going back to a Windows XP-state operating system that is insecure.
I am so annoyed by this. We need open source printing firmwares, because I think it's only gonna get worse in future.