I have some enquiries relatively to the use of PrintTask, so as to export the map in various formats:
Should I use the esri/dijit/Print dijit like in this example ? or it is better to usee the PrintTask like in this ? which one is suggested ?
I want my map to have specific dimensions, and show the entire word at a specific scale? How can I tell the map not to show the current map extent? but the entire world ? I tried setting like in the examples here the preserveScale to true and the exportOptions to template.exportOptions = { width: 500, height: 400, dpi: 96 }; But the printed map was empty (white) with just the logo on it .
In case I need to use tiled layer as basemap should I only use the ArcGISTiledMapServiceLayer? I tried with WebTiledLayer but the background map is white, despite the fact that the feature services items are exported/printed