>Hi. I am using VFP7 on a WinNT4 with Win98 w/stations. I have a USB bar code printer and a parallel printer that I want to connect to a pc. How do I programatically switch to "the right printer at the right time" in VFP?
>
>Thanks, Randy
One way to do it is with Word.
oWord = createobject("word.application")
oDialog=oWord.Dialogs(97)
WITH oDialog
.Printer = "Proper Printer Name"
.Execute
ENDWITH