How to stop hanging print jobs in Windows 8.1

From time to time, some print jobs may be hanging for no apparent reason. This may some times be resolved by restarting or deleting the print job in the print job list. This however is not always possible, but another fix may be handy:

Right click on the start button and select “Command prompt (Admin) “.

In the command promt, restart the print spooler, by writing

net stop spooler

and then:

 net stop spooler