开发者

How do I certify a windows printer driver? Or can I skip the certification?

开发者 https://www.devze.com 2023-03-05 09:11 出处:网络
I have successfully created an XPS Printer Driver for windows with windows driver kit. The printer part (driver and actual printer setup) is a part of a larger application. To install the driver manua

I have successfully created an XPS Printer Driver for windows with windows driver kit. The printer part (driver and actual printer setup) is a part of a larger application. To install the driver manually works fine since I can manually accept that it is not certified when windows prompt me to accept or decline the installation for that reason (that it is not certified).

The driver installation should be embedded in a Click once installation together with another application, but that does not seem to work so well since I never get the chance to accept the fact that the driver is not certified. The installation just "hangs" when getting to the printer installation part.

Has someone else encountered these kinds of开发者_如何学Go problems and either know how to get the driver certified or knows a better way of not needing to certify it?


You'll need to work with Microsoft on this. In order to get the driver certified, you need to pass their WHQL tests. Some more information at: http://msdn.microsoft.com/en-us/windows/hardware/gg463010 This can be a painful and expensive process at times, so I wish you luck.


You can use printUI.dll which is a printer/driver install utility for installing using a script. This link gives some details of the DLL - http://support.microsoft.com/kb/189105.

Also search in google for PrintUI.DLL and you will get the reference manual. Using this you can install drivers having an INF file (which will basically be the format of your XPS driver package, I assume). These have some flags /q and /Gw for quiet modes which should suppress the driver warnings.

Hope this helps. If so (+1) :)

0

精彩评论

暂无评论...
验证码 换一张
取 消