ArcGIS API for JavaScript: Print_Std/ExportWebMapStd (MapServer)

Built using the ArcGIS API for JavaScript