Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
To capture way of net of the printer.
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00904570
Message ID:
00904915
Views:
16
George

Quick question on the script, it seems to return two lines for each device is that normal? I have 7 printer listed in my control panel, but I get 14 items in the code.

Thanks
Kirk
oNet = CREATEOBJECT('WScript.Network')
oPrinters = oNet.EnumPrinterConnections
FOR x=0 TO oPrinters.Count-1
	? oPrinters.Item(x)
ENDFOR 
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform