0

When I print many documents with PC, then spool PC needs on. If spool PC is off, then stop printing whenever documents are waiting on that PC.

By the way, I want to need automatically shutdown the spool PC when spool is empty. That means no more documents are waiting printer.

I think go to event viewer > applications and services > Microsoft > Windows > PrintService > Operational and find such as 'request jobs are finished' log, and connect "Job Scheduler" to shutdown when 'request jobs are finished' log is appear will help me. But, Operational logs are only show the one document's job, not whole jobs.

How can I see log if print spool is empty? or How can I shutdown when print spool is empty? using PC's are windows 11.

Thank you.

4
  • 1
    SU isn't a script-writing service. Have a look at writing a PowerShell script to poll the spooler queue every x minutes in a loop, and then call the shutdown command when the queue is empty. learn.microsoft.com/en-us/powershell/module/printmanagement/… & learn.microsoft.com/en-us/powershell/module/… Commented Jul 26, 2023 at 8:13
  • @spikey_richie Thank you, this is really helpful link! I try later because I need test to make power shell script while printing. And I have one more question. what is SU that you mentioned?
    – Yang
    Commented Jul 27, 2023 at 14:02
  • SU is short for Super User; this sub-stack. Commented Jul 28, 2023 at 7:24
  • @spikey_richie Thank you! I didn't think about power shell script. Now, I make script and use very useful.
    – Yang
    Commented Jul 28, 2023 at 14:27

1 Answer 1

0

you can make powershell script to do that work.

Get-WmiObject -Class Win32_PrintJob will be check your print spool.

please see @spikey_richie comment to see reference.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .