Hi, I'm writing code to print. What I've managed so far is to use the PrintDlg function to allow a user to select a printer and print. Now what I want is to programmatically select the printer. I have the printer name. Can I get a PRINTDLG struct that corresponds to that name? If so, how? If not, what's another way to do it?