There are a few articles in the MS KnowledgeBase.
I don't have numbers at hand, but I think one is
even called something like "Changing windows printer programmatically"
hth
Frank
>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?