>Hi all!
>
>I try to search this problem in the database of UT and did not find what I want, maybe somebody here has this problem before and know how to do it.
>
>My problem is,
>
>If I change my default printer using my "printer and faxes" system screen after I am running my application , and try to open the printer setup screen from my application the default printer remain in the original when the application start.
>
>I try to use set("printer",2) to get the default printer in the activate event and then
>set printer to set("printer",2) but that does not change my default printer and also does not make the printer direct to that printer.
>
>Anybody that know how to do it, please let me know.
>
>TIA
Set printer to name (set('printer',2')