Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
The prnqctl.vbs script can be used to control the print queue on local and remote computers. The script is located in the c:\windows\system32\printing_admin_scripts\en-us folder. You can use it to pause printing, resume printing, cancel all printing, and print a test page. The basic syntax is as follows:
cscript prnqctl.vbs option -p printer-name [-s remote-computer] [-u user-name -w password]