如何以编程方式安装V4打印机驱动程序 [英] How to Install V4 printer driver programmatically

查看:483
本文介绍了如何以编程方式安装V4打印机驱动程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


我想使用  c#或c ++以编程方式安装v4打印机驱动程序。 


我有在Windows 7,Windows 8和Windows 10中安装了v3驱动程序,通过使用端口监视器。但是Windows 8.1以后的方法是不能使用v4驱动程序。 


请建议以任何方式在Windows 8.1和Windows 10中以编程方式安装v4驱动程序。




解决方案

尝试使用SetupInstallFile或SetupInstallFileEx函数。


https://msdn.microsoft.com/en-us/library/aa377398(v = vs.85).aspx


https://msdn.microsoft.com/en-us/library/aa377399(v=vs.85)。 aspx


有关详细信息,请参阅此链接。


https://msdn.microsoft.com/en-us/library/aa376958%28VS.85%29。 ASPX F = 255安培; MSPPError = -2147217396


Hi ,

I want to install a v4 printer driver programmatically using  c# or c++. 

I had installed v3 drivers in windows 7, windows 8 and in windows 10, By using port monitor. But is approach is not working with v4 drivers in windows 8.1 onwards. 

Please suggest any way to install v4 driver programmatically in windows 8.1 and windows 10.

解决方案

Try use SetupInstallFile or SetupInstallFileEx function.

https://msdn.microsoft.com/en-us/library/aa377398(v=vs.85).aspx

https://msdn.microsoft.com/en-us/library/aa377399(v=vs.85).aspx

For more information, please refer to this link.

https://msdn.microsoft.com/en-us/library/aa376958%28VS.85%29.aspx?f=255&MSPPError=-2147217396


这篇关于如何以编程方式安装V4打印机驱动程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆