A communication error in the printer can cause because of some of the reasons. The error affects the printing job because it becomes unable to communicate to complete its printing commands.
If your screen is showing the notification of communication error then check if any light is blinking on the printer. Ensure that there should not be any error.
Before you start troubleshooting, check the connection of your printer with the computer first.