Good afternoon,
Is there some way to auto-generate the browser's Print... dialog, either in place of the Printout hyperlink or as part of it after being clicked? The following code is in place and working:
// print dijit
esriConfig.defaults.io.proxyUrl = "http://gistest1/DotNet/proxy.ashx";
esriConfig.defaults.io.alwaysUseProxy = false;
printer = new Print({
map: map,
url: "http://gistest1:6080/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task"
}, dom.byId("printButton"));
printer.startup();
Source reference:
Print | ArcGIS API for JavaScript 3.22
Thank you,
Greg