Printing using javascript for more than 1 printer

I want to print two types of documents on two different printers. I am using "Always print without sound" in firefox to prevent the print window from being displayed on every print. But now I want 2 different prints, I can't use this option and I really don't want the print window to be displayed. Any idea how I can do this, for example change the default printer using javascript or php (I don't think php can help me here because the printer is client-side) or whatever. thanx in advance

+2


source to share


2 answers


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



Your best option is to write a Firefox plugin to do this for you.

+3


source


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



0


source







All Articles