Q: How to set default printer bin?

How do I set the default printer bin/tray/source in Visual C++ 5.0 running under Windows NT 4.0 ?

I simply want to make a little command line application that takes two arguments, a printer name and the bin/tray/source to use. The application should then set the default printer and bin/tray/source, so the next time I print from a Windows application, it will use this printer and bin/tray/source.

Note. I have allready wrote the code to set the default printer (but not the bin/tray/source).