开发者

Print using javascript for more than 1 printers

开发者 https://www.devze.com 2022-12-09 05:06 出处:网络
I want to print 2 kind of documents on 2 different printers. I use \"Always print silent\" on firefox so the print window doesn\'t show up on every print. But now I want 2 different prints I can not u

I want to print 2 kind of documents on 2 different printers. I use "Always print silent" on firefox so the print window doesn't show up on every print. But now I want 2 different prints I can not use this option and I really don't want the print window to show up. Any idea how I can do this like changing the default printer using javascript or php ( I don't think php开发者_StackOverflow中文版 can help me here because printer is client side ) or something else. thanx in advance


You won't be able to control this with PHP or Javascript.

Your best option would be to write a Firefox plugin to do it for you.


Javascript and/or PHP cannot change browser or computer settings.

0

精彩评论

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