oWSHNet = CREATEOBJ('Wscript.Network') oWSHNet.SetDefaultPrinter('SomeWindowsPrinterName')You can find detailed information on this in VFP in the 5 part article that George Tasker and I did back in the Fall of 2000 for VFUG, available in the back issues section of www.vfug.org, or in many of the links in my sig block below.