How to change default printer?

I've been trying to change windows' default printer without success.
I looked in the Windows API help and found ExtDeviceMode, but I
don't know how its used and what it does, but I don't think it
will change the default printer.

As anyone out there solved this problem?


Diogo Assuncao