(urgent) Setting paper size and source bin data into CPrintDialog
I'm writing a page setup dialog for a program. To print the document I use CPrintDialog. I need a way to set the paper size and source bin settings from my page setup dialog into the CPrintDialog when it is activated. The data is stored in a string (like "A4" or "Automatically Select").