Finding out status of printspooler empty or not
In Vb6 we do shelling this
I use ( advised by : Steve Knight ) this to turn a printer(s) off line
cscript "C:\Windows\System32\Printing_Admin_Scripts\nl-nl\prncnfg.vbs" -t -p "HP OfficeJet One" +workoffline
cscript "C:\Windows\System32\Printing_Admin_Scripts\nl-nl\prncnfg.vbs" -t -p "HP OfficeJet Two" +workoffline
this 5 total printers
Then start the job by setting the first printer on line
cscript "C:\Windows\System32\Printing_Admin_Scripts\nl-nl\prncnfg.vbs" -t -p "HP OfficeJet One" -workoffline
Start printwork for this one
Now before turning next printer on line I must know that spooler for this first Job is empy at printer
then next job , etc.