>>loWord = GetObject(, "Word.Application")
>>loWord.ActivePrinter = "WinFax on LPT1:"
>>
>>HTH
>>
>>>Is it possible to switch the default printer/fax in Word through code when using mailmerge.
>
>
>Thanks for the info. The reason I'm attempting Mailmerge is because the formatting capabitities of the VFP Report designer are very limited. A field of variable length followed by label text will not be justified. But I'm having problems convincing my boss that providing a solution outside VFP (such as using Words' Mailmerge) is safe and won't be a compatibility issue in future releases of VFP or Office or VBA.
>
>I'm also interested in providing some sort of email solution using mailmerge. I thought of saving the generated documents in RTF format(which is readable with Wordpad) and then finding an activex control that would automatically send email with the file attached.
The UT libraries have classes that use mapi or the mapi session control to do exactly what you want (re:mailing)