Sjoerd,

I think you can use the SetDefaultPrinter Windows API function and then invoke the print dialog or provide the right settings (and I don't have an example) via the PRINTDLG structue used by the PrintDlgEx function.