>>>>>Hi all,
>>>>>
>>>>>How can a get the name of the default printer...
>>>>>
>>>>>João Batista
>>>>
>>>>
?Set("printer",1)
>>>>?Set("printer",2)
>>>>?Set("printer",3)
>>>>
>>>
>>>I tried this and it didn't like the parameters after "printer" in the SET.
>>
>>No way. What version of VFP?
>>This must works on VFP 8 and 9.
>
>Way.
>
>Using 8 sp2. The following line:
>
>
>?Set("printer",0)
>
>
>returns the "Function argument value, type, or count is invalid." error.
Sorry, see my UPDATED message, 0 is an illegal parameter.