I want to execute a windows application in Wine that just makes a printout. All that happens autmatically. The only problem I have is that I need to send a RETURN command to the windows print dialog as soon as it appears.

Does anybody know how I can wait for the dialog window and then send the keypress?