You want to pause or resume a print job or print queue.
Use the Pause and Resume methods of the WMI Win32_PrintJob and Win32_Printer classes.
WMI isn’t limited to information retrieval tasks (such as those shown in recipe Retrieve Print Queue Information). You can also execute certain WMI class methods to interact with the Windows operating system. One example is the Pause and Resume methods that allow you to manage printers and print jobs.
The following Console application provides a straightforward example. Every time the application finds a print job in the queue, it checks to see if the job or the printer is paused. If so, it tries to resume the job or the printer. Note that Windows permissions might ...