Hey,
I've never used WSH before...until now. Assuming I can get consistent results accross the machines in my network, this could be pretty cool stuff.
Setting printername to one of the printers returned by APRINTERS() works great.
There is always more to learn than I have time for <g>
>It's part of Windows Scripting Host. Example:
>
>
>oWNet=CreateObject("WScript.Network")
>oWNet.SetDefaultPrinter("printername")
>
>
>
>I've not tried it yet so don't know what you have to use as the printer name.
Take care,
Steve Gibson