<?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 Re: Printing parameters in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-parameters/m-p/461487#M42642</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Miguel,&lt;BR /&gt;&lt;BR /&gt;If you want to use ESRI's print solution (PrintDijit or PrintTask), using Templates to determine the page size, layout and orientation might be the only way to go, and I believe might be the easiest way per design perspective. Otherwise, you may end up developing custom solution on your own.&lt;BR /&gt;&lt;BR /&gt;Good luck.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your answer. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you know how i could develop a custom solution for this problem? Should i use another language maybe Web ADF? I don't know if Web ADF is deprecated or not. I was wondering to create new templates, then i made some maths and discovered that i would have to create about 40 templates to resolve this situation because i would have: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; - 4 Custom Templates that exists today.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - 5 sizes of paper (which demands 5 templates) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - Landscape and portrait&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So it means 4 * 5 * 2, 40 templates.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Oct 2013 13:50:48 GMT</pubDate>
    <dc:creator>MiguelAlmeida</dc:creator>
    <dc:date>2013-10-11T13:50:48Z</dc:date>
    <item>
      <title>Printing parameters</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-parameters/m-p/461485#M42640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Good morning,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are trying to use the Javascript API of Arcgis to make the print functionality. This function is working very well. Just you know i'm creating the template with the following parameters:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var plate = new PrintTemplate();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; plate.layout = plate.label = ch;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; plate.format = "PDF";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; plate.layoutOptions = {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "customTextElements": [],&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "legendLayers": [legendLayer]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My only doubt is how to define the paper size desired since we have only one template (.mxd) created in Arcgis Server. Is there any parameter i could use to define this option ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a simple restrict: I can't create more then one template (.mxd) file.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your attention,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;José Augusto Alves de Oliveira&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2013 12:56:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-parameters/m-p/461485#M42640</guid>
      <dc:creator>MiguelAlmeida</dc:creator>
      <dc:date>2013-10-11T12:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: Printing parameters</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-parameters/m-p/461486#M42641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Miguel,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to use ESRI's print solution (PrintDijit or PrintTask), using Templates to determine the page size, layout and orientation might be the only way to go, and I believe might be the easiest way per design perspective. Otherwise, you may end up developing custom solution on your own.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good luck.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2013 13:14:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-parameters/m-p/461486#M42641</guid>
      <dc:creator>JasonZou</dc:creator>
      <dc:date>2013-10-11T13:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: Printing parameters</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-parameters/m-p/461487#M42642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Miguel,&lt;BR /&gt;&lt;BR /&gt;If you want to use ESRI's print solution (PrintDijit or PrintTask), using Templates to determine the page size, layout and orientation might be the only way to go, and I believe might be the easiest way per design perspective. Otherwise, you may end up developing custom solution on your own.&lt;BR /&gt;&lt;BR /&gt;Good luck.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your answer. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you know how i could develop a custom solution for this problem? Should i use another language maybe Web ADF? I don't know if Web ADF is deprecated or not. I was wondering to create new templates, then i made some maths and discovered that i would have to create about 40 templates to resolve this situation because i would have: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; - 4 Custom Templates that exists today.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - 5 sizes of paper (which demands 5 templates) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - Landscape and portrait&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So it means 4 * 5 * 2, 40 templates.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2013 13:50:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-parameters/m-p/461487#M42642</guid>
      <dc:creator>MiguelAlmeida</dc:creator>
      <dc:date>2013-10-11T13:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: Printing parameters</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-parameters/m-p/461488#M42643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Understand. But I believe creating 40 map templates takes much less effort than developing custom print solution. Map templates are very easy to create, maintain, and deploy. They are scalable as well. Even if you develop custom solution, you will still need to figure out how to deal with different page sizes, orientation and custom layout options. I used to develop one template, but to use CSS and JS to control the layout, orientation and paper sizes. But trust me, it is not fun. I'd go for ESRI's solution if that works for you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you still like to consider developing custom print solution, you can develop server object extension either using ArcObjects or arcpy.mapping. Here is the link that may be useful: &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//01540000056t000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//01540000056t000000&lt;/A&gt;&lt;SPAN&gt;. Stay away from Web ADF. It's deprecated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2013 14:04:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-parameters/m-p/461488#M42643</guid>
      <dc:creator>JasonZou</dc:creator>
      <dc:date>2013-10-11T14:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: Printing parameters</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-parameters/m-p/461489#M42644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Understand. But I believe creating 40 map templates takes much less effort than developing custom print solution. Map templates are very easy to create, maintain, and deploy. They are scalable as well. Even if you develop custom solution, you will still need to figure out how to deal with different page sizes, orientation and custom layout options. I used to develop one template, but to use CSS and JS to control the layout, orientation and paper sizes. But trust me, it is not fun. I'd go for ESRI's solution if that works for you.&lt;BR /&gt;&lt;BR /&gt;If you still like to consider developing custom print solution, you can develop server object extension either using ArcObjects or arcpy.mapping. Here is the link that may be useful: &lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//01540000056t000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//01540000056t000000&lt;/A&gt;. Stay away from Web ADF. It's deprecated.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2013 18:43:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-parameters/m-p/461489#M42644</guid>
      <dc:creator>MiguelAlmeida</dc:creator>
      <dc:date>2013-10-11T18:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: Printing parameters</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-parameters/m-p/461490#M42645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for sharing information,your information increase my knowledge.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Oct 2013 10:44:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-parameters/m-p/461490#M42645</guid>
      <dc:creator>georgebush</dc:creator>
      <dc:date>2013-10-13T10:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Printing parameters</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-parameters/m-p/461491#M42646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Thanks for sharing information,your information increase my knowledge.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.jumeirahbeachhoteldubai.org/"&gt;jumeirahbeachhoteldubai.org &lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Dec 2013 03:59:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/printing-parameters/m-p/461491#M42646</guid>
      <dc:creator>georgebush</dc:creator>
      <dc:date>2013-12-26T03:59:41Z</dc:date>
    </item>
  </channel>
</rss>

