I have this JSFiddle : https://jsfiddle.net/vxmfatw1/23/ . I am calling this page from another page and want to send it directly to the printer, without having to press the 'Print' button and then select the 'Get printout' link. Has anyone ever tried this before ?
You can use Advanced Web Map Printing/ Exporting. This will let you export the print layout format (HalfPage, Letter, A3, ...).
Check this tutorial out: