Hello,
I'm looking for a way to check that service spooler is stuck without trying to print something. I have an application which uses print spooler to print to PDF. However from time to time spooler gets stuck without any errors, nothing in queue and the status is still "Running".
Currently Im using a powershell script installed as a service that will try to print something and if it fails, it restarts the spooler, but it's not optimal to try to unzip something and then print it every 30 minutes just to check that it works...
Things I tried:
Checking EventViewer for any Spooler related errors including my app
Checking spooler status via CMD and PowerShell commands, Services.msc
Checking spooler queue for said printer via CMD and PowerShell commands
Is there really no other way to check this?
Thanks John