I am trying to print a word document from within a VFP application, using the following code.
#DEFINE wdSendToPrinter 1
.
.
.
oWord.ActiveDocument.MailMerge.Destination = wdSendToPrinter
It works fine, but I would like to direct the oputput to a non-default printer. My application can pass the printer name. What I need is the syntax to pass it to MSWord.
Thanks,
Sam
#DEFINE wdSendToPrinter 1
.
.
.
oWord.ActiveDocument.MailMerge.Destination = wdSendToPrinter
It works fine, but I would like to direct the oputput to a non-default printer. My application can pass the printer name. What I need is the syntax to pass it to MSWord.
Thanks,
Sam