2017年12月2日 星期六

瀏覽器直接列印的設定



firefox

from: https://stackoverflow.com/questions/945691/automatically-print-image-from-website

The only solution to avoid print dialog that I found was creating a variable on Mozilla Firefox to set auto-print. Maybe is not the best solution if you need to use other browser, but in my case, I only need to print a report automatically and it works:
1- Open Firefox and type "about:config" in the address bar
2- Right click on any preference and select "New" > "Boolean"
3- Add a variable called "print.always_print_silent" with "true" value
4- Restart Firefox.

Google Chrome

--kiosk 的動作,我目前試不出來,猜想應該是新版本不支援了。


沒有留言: