I am trying to limit number of print copies in Firefox web page. If we can do one of below mentioned methods, we can achieve this;
- Disable Print Dialog Box (print copies)
- Silent Printing without any prompt.
I did silent printing with firefox as below;
- type
about:config
in address bar. - Create new Boolean -> print.always_print_silent = true
It is working fine. But we should check always above value = true, or else it will appear the print dialog. To do this our web app should verify this value before print command.
As I know it is not possible to read any preferences values with JavaScript(client side), I was planning to make a firefox Extension.
If anyone can give me an easy method of doing this, I really appreciate.
Any method to direct print or limit print copies to one in print dialog box