Wednesday, August 17, 2016

Handling print jobs

To delete printjobs of specific printer

wmic printer where name="HP LaserJet" call cancelalljobs

To see the list of jobs we have in the queues
wmic printjobs get

To delete printjob

wmic printjob where jobid=<jobnumber> delete
Pause a print job

wmic printjob where jobid=<jobnumber> pause

prints lot of details about each printer job
wmic printjob get jobid, document, jobstatus

Resuming a print job


wmic printjob where jobid=<jobnumber> resume

No comments:

Post a Comment