Hello - I bought an HP printer that has this bug in it.
I was able to fix it by turning off WS-Discovery in the HP printer. Why does this fix it?
ONVIF is the industry-standard for discovering cameras on a LAN. It uses the WS-Discovery broadcast protocol. HP also offers some WS-Discovery based features. HP printers have a bug however: when they received WS-Discovery broadcast messages they don't recognize, they crash.
You'll need to find the IP address of your HP printer, and then go to that IP address in a web browser. Then use the following to disable WS-Discovery on your printer.