Under Windows, you can also quite easily list the print jobs via the command line (abort / stop)!
For this purpose, the WMIC PRINTJOB command is very well suited to conveniently print these for larger lists of print jobs.
to see all print jobs!
wmic printjob getTo list all print jobs!
wmic printjob listTo delete all print jobs!
wmic printjob deletePRINTJOB COMMANDS / OPTIONS
ColorConsole [Version 2.6.1001 ] Microsoft Windows [Version 10.1.1804] Copyright (c) 2018 Microsoft Corporation. All rights reserved. C:\Windows\system32>WMIC PRINTJOB /? PRINTJOB - Print job management. HINT: BNF for Alias usage. ( [WMIObject] |  |  ) . USAGE: PRINTJOB ASSOC  PRINTJOB CALL  PRINTJOB CREATE PRINTJOB DELETE PRINTJOB GET   PRINTJOB LIST   C:\Windows\system32>
PRINTJOB LIST COMMANDS
Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Windows\system32>WMIC PRINTJOB LIST /? Property list operations. USAGE: LIST   The following LIST formats are available: BRIEF - Document, JobId, JobStatus, Owner, Priority, Size, N ame FULL - DataType, Description, Document, DriverName, Elapsed Time, HostPrintQueue, InstallDate, JobId, JobStatus, Name, Notify, Owner, PagesP rinted, Parameters, PrintProcessor, Priority, Size, StartTime, Status, StatusMas k, TimeSubmitted, TotalPages, UntilTime, DriverName, Name INSTANCE - JobId STATUS - Document, JobId, JobStatus, Name, PagesPrinted, Stat us, JobIdCopy, Name The following LIST switches are available: /TRANSLATE: - Translate output via values from. /EVERY: [/REPEAT:] - Returns value every (X interval) se conds, If /REPEAT specified the command is executed times. /FORMAT: - Keyword/XSL filename to process the XML results. NOTE: Order of /TRANSLATE and /FORMAT switches influences the appearance of outp ut. Case1: If /TRANSLATE precedes /FORMAT, then translation of results will be follo wed by formatting. Case2: If /TRANSLATE succeeds /FORMAT, then translation of the formatted results will be done. C:\Windows\system32>
FAQ 29: Updated on: June 22th 2018 12:14