>Do both separatly (don't use prompt clause). I mean ask user before and set printer after. Then use getprinter() first and "set printer to name.." instead.
I'm sorry, perhaps I was too quick in my reply. What exactly do you mean?
I can not use SYS(1037) since there is no way to find out, if it was cancelled. Besides, it's changing the settings globally.
If it's not broken, fix it until it is.
My Blog