通过javascript选择特定打印机 [英] Selecting specific printer by javascript

查看:107
本文介绍了通过javascript选择特定打印机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的电脑上连接了两台打印机.我可以通过javascript代码选择特定的打印机吗.

I have two printer connected to my computer. Can I select a specific printer by javascript code.

推荐答案

无法绕过打印选项.默认打印机由访客操作系统确定.使用普通的旧 JavaScript,您无能为力.使用 Flash 或 Java 可能是可能的,但它可能会导致访问者失去信任.

Print options cannot be bypassed. Default printer is determined on the visitors OS. There is nothing you can do about it with plain old JavaScript. It might be possible with Flash or Java, but it would potentially cause loss of trust from your visitors.

这篇关于通过javascript选择特定打印机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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