I couldn't find a built in solution, ended up using an applescript to click the print button of the dialog.
Details here How to use applescript to hit enter on system printing dialog box?
Domanda
I have an extension running on Chrome with kiosk-printing on. I'm on OS X 10.6.8.
I want it to print a page via the extension, without any dialog.
This works fine with just print()
, but chrome prints using settings other than my required preset (page size etc')
How can I make chrome use my required preset?
I've tried the following:
Soluzione
I couldn't find a built in solution, ended up using an applescript to click the print button of the dialog.
Details here How to use applescript to hit enter on system printing dialog box?