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
Cannot connect to a Network
The Printer Cannot Connect by USB (Mac OS)
Cannot Print Even Though a Connection has been Established (Mac OS)
Printer Does Not Print While Using PostScript Printer Driver (Mac OS)
Suddenly the Printer Cannot Print over a Network Connection