var url ='https://my.domain.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export Web Map Task'; var template = new esri.tasks.PrintTemplate(); template.exportOptions = { width: 500, height: 530, dpi: 200 }; template.format = "JPG"; template.layoutTemplate = "MAP_ONLY"; template.preserveScale = false; template.layoutOptions = { 'copyright' : 'better this text, than from service...' }; var printTask = new esri.tasks.PrintTask(url); var printResult = function(result){ /* outputs link to download JPG */ }; var params = new esri.tasks.PrintParameters(); params.map = map; params.template = template; printTask.execute(params, printResult);
Solved! Go to Solution.
setting PrintTemplate.showAttribution = false will remove the copyright information from the printout, but be warned that data vendors don't typically want you distributing prints without this info.