Yes the commondialog showPrinter() is a print dialog, not a settings dialog so I cannot use it unfortunately.
I really thought there was something else but I think I am mistaken. Anyway it is not that hard to make a dialog and call both functions separately.
.
>I use it as a kludge.
>
>:(
>
>For the dialog Yousfi suggested, it can change all like the OS thinks its ok. But I have no idea if VFP will respect it. At least the settings I have done will be lost if I call the dialog again.
>
>>Not a bad solution, I only wonder if the user stares at teh first screen looking for the orientation setting.
>>Is there a code to set the orientation_ With PRTINFO() I can get the current Setting, but not sure how to change orientation (or paper source) programmatically.
>>
>>If that were possible I could create a nicer interface for the user.
Christian Isberner
Software Consultant