Hi, Use the script in below. It uses the WScript.Network object to enumerate all printer connections on the network and check their status using the GetPrinterStatus method. On Error Resume Next ' Create a printer object Set objPrinter = CreateObject("WScript.Network") ' Get a list of all printers oRead more
Hi,
Use the script in below. It uses the WScript.Network object to enumerate all printer connections on the network and check their status using the GetPrinterStatus method.
This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.
Strictly Necessary Cookies
Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.
If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.
3rd Party Cookies
This website uses Google Analytics to collect anonymous information such as the number of visitors to the site, and the most popular pages.
Keeping this cookie enabled helps us to improve our website.
Please enable Strictly Necessary Cookies first so that we can save your preferences!
How to monitor printers status on a network using VBscript?
Hi, Use the script in below. It uses the WScript.Network object to enumerate all printer connections on the network and check their status using the GetPrinterStatus method. On Error Resume Next ' Create a printer object Set objPrinter = CreateObject("WScript.Network") ' Get a list of all printers oRead more
Hi,
Use the script in below. It uses the
WScript.Network
object to enumerate all printer connections on the network and check their status using theGetPrinterStatus
method.The status of each printer is printed to the console.
Hope this will help.