On the Internet, I found the following simple snippet of VB code that
creates a list of available printers:

strList = "The following printers are available: "
Set objWMIService = GetObject("winmgmts:\\.\root\cimv2")
Set PrinterList = objWMIService.ExecQuery("Select Name from
Win32_Printer")
For Each Printer In PrinterList
strList = strList & Chr(13) & Trim(Printer.Name)
Next
MsgBox strList

It works fine under VB 6.0, but not as a client-side script running in
an ASP page under the browser (IE 6.0 in my case) - it fails at the
GetObject.

Is there are way to get this to work as client-side script (or is
there an alternative approach that will work and accomplish the same
goal?)

Any insight or solution would be much appreciated!! Thanks in advance
...

-- Trevor Feldman