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 ?
Brian,
You can use Advanced Web Map Printing/ Exporting. This will let you export the print layout format (HalfPage, Letter, A3, ...).
Check this tutorial out:
Tutorial: Advanced web map printing/exporting using arcpy.mapping—Documentation | ArcGIS for Server