>> I tried a few very similar few alternatives, which in theory should work fine, but did not. I ended up with the code shown which has always worked fine.
>
>Thanks Tore.
>
>I'll check it out and email Robin with a solution.
It's a relatively lonm time since I performed these tests, so I may very well have done some silly mistake. Anyway, this code always worked, so I didn't perform moe tests.
Another thing is that I wonder if the printer dialog appears if you specify a nonexistent printer?