Sometimes you cannot print from a device that you have added as a network printer. After running the Windows printer troubleshooter for your printer, the troubleshooter cannot solve the problem and displays an error message: The printer cannot be connected to the network.
What causes “Cannot communicate with the printer over the network”?
The printer’s IP address is dynamic: This is not always a problem, but some printers behave badly if their IP address is not static, so make sure you change it.
Key services are disabled: The functioning of the printer depends on several services, especially if it is a network printer. Make sure that all required services are enabled.