Script for network printer

There is a printer that is on the network and it keeps "pausing".  How do I code a script to "unpause" this printer?  I would like the script to run every 2 minutes.  

Thanks,
rgrguricAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
clockwatcherConnect With a Mentor Commented:
If you've got XP, give this script a try:

   http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/prnqctl.mspx?mfr=true

cscript %SYSTEMROOT%\SYSTEM32\prnqctl.vbs -m [-s RemoteComputer] -p PrinterName [-u UserName -w Password]
0
 
rgrguricAuthor Commented:
It is a windows network and all cpu's are running Windows XP.
0
 
jkrConnect With a Mentor Commented:
Does

net print \\server\printername /release

work if you do that manually?
0
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
rgrguricAuthor Commented:
I tried running that line of code and got this error...

NET PRINT
\\computername\sharename
          [\\computername] job# [/HOLD | /RELEASE | /DELETE]
0
 
rgrguricAuthor Commented:
Ok, so I used the correct syntax and it works for any print job... But how do I unpause the printer itself?
0
 
jkrCommented:
Sorry, it seems that I missed the Job ID part...
0
All Courses

From novice to tech pro — start learning today.