I currently display the Common Dialog box for Printer. How can you catch the button that was pressed. Ie: did the user select the "OK" or the "Cancel"

thanks in advance