<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Difference between Print Task and Export Web Map in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/difference-between-print-task-and-export-web-map/m-p/631764#M58959</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;AGS 10.1 REST api has an Export Web Map task that you can send a request to and get a print output.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;js api has a Print Task that you can put in your code to make printing easier.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm going to assume that the js api Print Task simply calls the REST api ExportWebMap Task. Is that a safe assumption?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If yes, then why is it that the Print Task only seems to support a subset of the things that ExportWebMap does?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Like scalebar options, for instance, in the Print Task docs they tell you to set scalebarUnit&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But in the REST Api you get :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"scaleBarOptions":&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "metricUnit": "kilometers" ,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "metricLabel": "km",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "nonMetricUnit": "miles" ,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "nonMetricLabel": "mi"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why the discrepency? Is it just because the Print Task is not full-featured yet?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If that is the case do i have to craft my own Web_Map_as_JSON string in order to access these 'hidden' properties?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Oct 2013 21:43:14 GMT</pubDate>
    <dc:creator>KevinGooss</dc:creator>
    <dc:date>2013-10-08T21:43:14Z</dc:date>
    <item>
      <title>Difference between Print Task and Export Web Map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/difference-between-print-task-and-export-web-map/m-p/631764#M58959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;AGS 10.1 REST api has an Export Web Map task that you can send a request to and get a print output.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;js api has a Print Task that you can put in your code to make printing easier.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm going to assume that the js api Print Task simply calls the REST api ExportWebMap Task. Is that a safe assumption?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If yes, then why is it that the Print Task only seems to support a subset of the things that ExportWebMap does?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Like scalebar options, for instance, in the Print Task docs they tell you to set scalebarUnit&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But in the REST Api you get :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"scaleBarOptions":&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "metricUnit": "kilometers" ,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "metricLabel": "km",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "nonMetricUnit": "miles" ,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "nonMetricLabel": "mi"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why the discrepency? Is it just because the Print Task is not full-featured yet?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If that is the case do i have to craft my own Web_Map_as_JSON string in order to access these 'hidden' properties?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2013 21:43:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/difference-between-print-task-and-export-web-map/m-p/631764#M58959</guid>
      <dc:creator>KevinGooss</dc:creator>
      <dc:date>2013-10-08T21:43:14Z</dc:date>
    </item>
  </channel>
</rss>

