I am creating a Google Apps Script Web App where I want to automatically print labels when a user submits information via a Submit button (whilst also recording the information). I can display the label as a html webpage and use window.print() to send it to the printer but this brings up the print preview dialog. Given that:
- I want to be able to run the Web App on a Chrome device (i.e. chromebook or chromebox) and
- I will probably set the device up in Kiosk Mode using Chrome Sign Builder so that the App is the only thing a user can use on that device.
...is there a way to bypass the print preview dialog so that the label goes straight to the default printer (a label printer)?