If people are wondering. I found a solution:You can use esri.tasks.PrintTask. This class sends the result of the URL of the generated image. Which can be sent to the server:Example: var task = new esri.tasks.PrintTask(printUrl); dojo.connect(task, 'onComplete', function (result) { PageMethods.SendMap(result.url, onSucceeded, onFailed); }); var params = new esri.tasks.PrintParameters(); params.map = map; var template = new esri.tasks.PrintTemplate(); template.exportOptions = { width: 700, height: 500, dpi: 96 }; template.format = "JPG"; template.layout = "MAP_ONLY"; params.template = template; task.execute(params);