>I need to set the default windows printer. I tried using the SET PRINTER TO NAME, but it only changes the default VFP printer. Is there a way in native VFP to change the default windows printer? If not, is there a windows api function that I can use to accomplish this?
>
>Thanks,
>Alan
You can do this thru WSH
oNet = CREATEOBJECT("WScript.Network")
oNet.SetDefaultPrinter("\\Server\Print1")
--sb--