SetPrinter problem

Giganews Newsgroups
Subject: SetPrinter problem
Posted by:  CARLO GARCIA (carlo…@hotmail.com)
Date: Mon, 18 Sep 2006

I'm changing the paper bin in a Dell Printer using the SetPrinter Windows
API.

The change is made in windows Control Panel, but in the other application
don't. In particular en the Windows Internet Explorer nothing happend.

Need i call an other API to made change in all applications?

Something like :

          SendMessageTimeout(
                            HWND_BROADCAST,
                            WM_SETTINGCHANGE,
                            0, 0,
                            SMTO_NORMAL,
                            1000,
                            success);

I'm using SendMessageTimeout but doesn't work in a Dell Printer 1710n but in
other works ok.

Thanks in advanced.

Replies