<?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 Print Task Questions in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-task-questions/m-p/273671#M25221</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using the &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi_start.htm" rel="nofollow" target="_blank"&gt;Print Task&lt;/A&gt;&lt;SPAN&gt; to add printing capabilities to my JS API site, and I had a couple questions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt;Is it possible to set the extent of the print?&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Is it possible to control which graphics layers are sent to the print task?&lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;&lt;SPAN&gt;Using Tom's fantastic &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://forums.arcgis.com/threads/24058-Advanced-print-solution" rel="nofollow" target="_blank"&gt;Advanced Print Solution&lt;/A&gt;&lt;SPAN&gt;, I set up my site to create a box on top of the map that could be resized.&amp;nbsp; I set it up to print to the extent of the box and without the box graphic displaying.&amp;nbsp; However, with the release of Arc 10.1, I'd like to utilize the Export Web Map Task while keeping the site intact.&amp;nbsp; The print task just prints to the map's current extent with everything that's visible, and I didn't see how I could change this while reading &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi_start.htm" rel="nofollow" target="_blank"&gt;the documentation&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I appreciate the help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;--Alan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Jul 2012 20:29:12 GMT</pubDate>
    <dc:creator>AlanRussian</dc:creator>
    <dc:date>2012-07-11T20:29:12Z</dc:date>
    <item>
      <title>Print Task Questions</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-task-questions/m-p/273671#M25221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using the &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi_start.htm" rel="nofollow" target="_blank"&gt;Print Task&lt;/A&gt;&lt;SPAN&gt; to add printing capabilities to my JS API site, and I had a couple questions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt;Is it possible to set the extent of the print?&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Is it possible to control which graphics layers are sent to the print task?&lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;&lt;SPAN&gt;Using Tom's fantastic &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://forums.arcgis.com/threads/24058-Advanced-print-solution" rel="nofollow" target="_blank"&gt;Advanced Print Solution&lt;/A&gt;&lt;SPAN&gt;, I set up my site to create a box on top of the map that could be resized.&amp;nbsp; I set it up to print to the extent of the box and without the box graphic displaying.&amp;nbsp; However, with the release of Arc 10.1, I'd like to utilize the Export Web Map Task while keeping the site intact.&amp;nbsp; The print task just prints to the map's current extent with everything that's visible, and I didn't see how I could change this while reading &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi_start.htm" rel="nofollow" target="_blank"&gt;the documentation&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I appreciate the help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;--Alan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2012 20:29:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-task-questions/m-p/273671#M25221</guid>
      <dc:creator>AlanRussian</dc:creator>
      <dc:date>2012-07-11T20:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: Print Task Questions</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-task-questions/m-p/273672#M25222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Alan,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Print service essentially is a GP service. If the JavaScript PrintTask doesn't meet your needs, just use the print service as a regular GP service by sending all the required parameters.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the do of using print service as a GP service directly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://resources.arcgis.com/en/help/rest/apiref/gp_exportwebmaptask.html" rel="nofollow" target="_blank"&gt;http://resources.arcgis.com/en/help/rest/apiref/gp_exportwebmaptask.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;But it might not be easy to construct a webMapJson. So I suggest to utilize the printTask to generate the json by calling printTask._getPrintDefinition(map). It retuns an the webmapJson object. Then, you can modify it before sending it to the print GP service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2012 20:59:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-task-questions/m-p/273672#M25222</guid>
      <dc:creator>JianHuang</dc:creator>
      <dc:date>2012-07-11T20:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: Print Task Questions</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-task-questions/m-p/273673#M25223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That will work perfectly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks so much!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2012 12:07:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-task-questions/m-p/273673#M25223</guid>
      <dc:creator>AlanRussian</dc:creator>
      <dc:date>2012-07-12T12:07:52Z</dc:date>
    </item>
  </channel>
</rss>

