如果是共享打印机,如何在jsprint中设置打印机名称?因为如果我只是将其命名为打印机名称,则会收到一条错误消息,指出它无法看到打印机。
谢谢大家。
最佳答案
此内容来自 Dimitar Angelov,他是 Firefox 中这个精彩附加组件的创建者之一,它可以让您自动直接打印,而无需显示对话框。
"If you are using network printer, common mistake is wrong using of slashes. For example if UNC name of your printer is \myserver\myprinter As javascript literal you must double slashes, because they are escape characters also. The correct using of this UNC name will be: var myprinter = '\\myserver\myprinter'; alert(myprinter); // to see if name is correct" <
如有其他问题,您可以通过他的电子邮件地址与他联系:
mitko@edabg.com
干杯!
关于javascript - JSprint Set Printer 共享打印机,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19919636/