>How can I set the Windows default printer from within Visual Foxpro.
Use the Wscript.Network SetDefaultPrinter method; see my sig block for references on the WSH, and the series of articles that George Tasker and I are writing for VFUG (
www.vfug.org)
>How can I retrieve the name of the current windows default printer from within Visual Foxpro.
In VFP6, SET('PRINTER',2) is the Windows default printer, and SET('PRINTER',3) the VFP default. SET('PRINTER',2) works in earlier versions as well.