>Quote from the site:
>"Or make this configuration as the default for this printer and for all applications using this printer. This procedure is !!! different !! for Windows NT/2000 or Windows 95/98:"
>
>
>yes it uses GetPrinter() .. but only on WinNt/2000/ .. on 95/98/ it uses DocumentProperties()
>
Yes, I realize this, but I didn't want to get into trying to create saved configurations. GetPrinter is a newer API that only works on NT and 2000. DocumentProperties works on all Windows platforms. Well, maybe not Windows 3, but we're not counting that. ;-)
>also the SendMessage() function at the bottom can be important ... maybe VFP caches Printer Settings somehow and the SendMessage forces VFP to reread the settings (one never knowns)
>
I'll look into this one. Thanks! I've seen a LOT of documentation on DocumentProperties, and this is the first time I've seen SendMessage() used.