Keep in mind that the "Windows" default printer may not be the same as the "VFP" default printer. When VFP is first started .. the VFP default is set to the Windows default. But commands, such as SYS(1037) or picking a printer from the File menu can change the VFP default to something different.
SET('PRINTER',2) is the Windows default
SET('PRINTER',3) is the VFP default
Cathy
>Hi
>How do I get the name of the default printer set in windows (aprinter only gives me the names of all printer no indidication of the currently selected one)
>
>I looked in sys(...) but could not see anything usefule ther either
>
>
>Thanks
>
>Peter