You may try WriteProfileString: see for instance, message #
265090 >Thank you for the quick response!
>
>Ironically I was already looking at that solution. I did another search on the thread and found it in another post. I think that should work, but the only concern I have is it relies on WScripting. I was hoping there was another way to call ExecWB to specify the printer, but I have since ruled that possibility out.