Open the Services app and select Print Spooler. Right-click and select Stop, then right-click and select Start to restart the service.

Stop print spooler using Command line:
net stop spooler
Start print spooler using Command line:
net start spooler