Make sure the computer and the printer are connected correctly.
The cause and solution to the problem differ depending on whether or not they are connected.
Checking the Connection Status
The Printer Cannot Connect by USB (Windows)
Cannot Print Even Though a Connection has been Established (Windows)