Microsoft® Windows® 2000 Scripting Guide
« Previous | Next »
There might be times when you need to pause a print job after it has been sent to a printer. For example, a user might accidentally click the Print button and send a 300-page job to the printer that he or she does not want to be printed at the moment. You might allow such large print jobs but prefer that documents like this be printed when there is less demand for the printer and fewer users will be inconvenienced by waiting for the job to finish. In this case, you might want to monitor the print queue and then temporarily pause the printing of any large documents.
The IADsPrintJob interface includes two methods, Pause and Resume, that enable you to manage the printing of individual documents within a print queue.
Send us your feedback | « Previous | Next » |