This is similar to Document stuck in printing queue but I'd like more detail as to what's going on behind the scenes here.
So far I have yet to successfully delete a document from Windows print queue. I always seem to get a message saying "Deleting - Printing" and then the whole queue gets stuck i.e. the document never seems to get deleted and no further documents can be printed.
Sometimes turning off the printer allows the job to be deleted, sometimes the print spooler service needs to be restarted before the job being deleted actually disappears.
My question is not about how to recover from such a situation, but rather why this happens in the first place.
Could it be something to do with file locking or badly written printer drivers?