Source:
http://hpprinterofflinesupport.over-blog.com/2019/10/hp-printer-offline-how-to-get-it-online.html
You might be able to completely solve this by causing sure the HP printer is properly configured.
