>A few days ago I was trying to determine how to retrieve the default windows printer. I read a thread which stated how to MODIFY the default printer using the registry. I used this method to retrieve the default printer, but I later found the set("printer",2) returns the default printer. Is the set() function a reliable way to retrieve the windows default printer?
>
>Thanks!
Hi Tony,
The reason that this occurs is that after VFP startup you have to force it to re-read the registry settings. You do this by issuing a call to SYS(3056).
hth,
George
Ubi caritas et amor, deus ibi est