This is the quickest fix for most macOS users and takes under two minutes. Open System Settings → Printers & Scanne ...
It is probably the first thing you need to check before heading to the other steps mentioned below. As your printer is already showing this message, you must follow it before doing anything else.