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.
精彩评论