使用ActiveX对象从Web应用程序访问客户端打印机 [英] Accessing a client machine printer from a Web app using ActiveX object

查看:169
本文介绍了使用ActiveX对象从Web应用程序访问客户端打印机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要访问从我的Web应用程序连接到客户端计算机的打印机.
技术:MVC3,语言:C#.
然后,我们使用activeX对象进行了此操作.不幸的是,它不适用于谷歌浏览器.但是可以与IE版本配合使用.
有谁知道为什么这个不兼容IE7,8,9的activeX对象不受Chrome的支持?这真的很烦人..

I need to Access a printer which is connected to the client computer from my web application.
Technology :MVC3, language: C#.
And we did that using an activeX object. Unfortunately it is not working with google chrome browser. But is working fine with IE versions.
Do any one know why this activeX object which is working fine with IE7,8,9 is not supporting by Chrome.? This is really annoying..

推荐答案

ActiveX像VBScript一样,是一项仅Microsoft的技术.它不适用于Chrome,Firefox,Windows或Safari:不适用于iOS,Mac OS-X,Linux,Unix,Android,...等任何浏览器.

我建议您在任何网页中打开Chrome,按Ctrl-P(您将看到打印预览页),然后开始右键单击并分析页面的来源.查找"SystemDialogOption".

希望这会有所帮助,

巴勃罗.
ActiveX, like VBScript, is a Microsoft-only technology. It won''t work on Chrome, or Firefox, or Safari on Windows: it won''t work on any browser in iOS, Mac OS-X, Linux, Unix, Android, ...

I''d suggest you open Chrome in any web page, press Ctrl-P (you''ll see the print preview page), and start right-clicking and analyzing the source of the page. Look for "SystemDialogOption".

Hope this helps,

Pablo.


这篇关于使用ActiveX对象从Web应用程序访问客户端打印机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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