Browsers will not allow that to happen. You can use the below plugin to provide beautiful previews.
After hours of research I found following solutions to resolve my issue.
Maybe you could setup your printers with Google Clound Print then use the cloud printing API to silently submit jobs to them. It looks like you can specify the printer id when you submit the job. You might need to use something like html2canvas to rasterize the webpage.
Found here Select a printer and silently print
In chrome (v18+) we have the --kiosk --kiosk-printing switches. One can print automatically to default printer without print confirmation.
You can see it from this video http://www.youtube.com/watch?v=D6UHjuvI7IE
it is posible in IE with VBScript script, just put it into your page.
©2020 All rights reserved.