<?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 Widget and Browser Print... Dialog in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-widget-and-browser-print-dialog/m-p/223061#M20727</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good afternoon,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there some way to auto-generate the browser's Print...&amp;nbsp;dialog, either in place of the Printout hyperlink or as part of it&amp;nbsp;after being clicked? The following code is in place and working:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// print dijit&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;esriConfig.defaults.io.proxyUrl = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fgistest1%2FDotNet%2Fproxy.ashx" rel="nofollow" target="_blank"&gt;http://gistest1/DotNet/proxy.ashx&lt;/A&gt;&lt;SPAN&gt;";&lt;/SPAN&gt;&lt;BR /&gt; esriConfig.defaults.io.alwaysUseProxy = false;&lt;/P&gt;&lt;P&gt;printer = new Print({&lt;BR /&gt; map: map,&lt;BR /&gt;&lt;SPAN&gt; url: "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fgistest1%3A6080%2Farcgis%2Frest%2Fservices%2FUtilities%2FPrintingTools%2FGPServer%2FExport%2520Web%2520Map%2520Task" rel="nofollow" target="_blank"&gt;http://gistest1:6080/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt; }, dom.byId("printButton"));&lt;BR /&gt; printer.startup();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Source reference:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/jssamples/widget_print.html" title="https://developers.arcgis.com/javascript/3/jssamples/widget_print.html"&gt;Print | ArcGIS API for JavaScript 3.22&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Nov 2017 23:22:47 GMT</pubDate>
    <dc:creator>GregoryJohnson1</dc:creator>
    <dc:date>2017-11-03T23:22:47Z</dc:date>
    <item>
      <title>Print Widget and Browser Print... Dialog</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-widget-and-browser-print-dialog/m-p/223061#M20727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good afternoon,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there some way to auto-generate the browser's Print...&amp;nbsp;dialog, either in place of the Printout hyperlink or as part of it&amp;nbsp;after being clicked? The following code is in place and working:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// print dijit&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;esriConfig.defaults.io.proxyUrl = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fgistest1%2FDotNet%2Fproxy.ashx" rel="nofollow" target="_blank"&gt;http://gistest1/DotNet/proxy.ashx&lt;/A&gt;&lt;SPAN&gt;";&lt;/SPAN&gt;&lt;BR /&gt; esriConfig.defaults.io.alwaysUseProxy = false;&lt;/P&gt;&lt;P&gt;printer = new Print({&lt;BR /&gt; map: map,&lt;BR /&gt;&lt;SPAN&gt; url: "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fgistest1%3A6080%2Farcgis%2Frest%2Fservices%2FUtilities%2FPrintingTools%2FGPServer%2FExport%2520Web%2520Map%2520Task" rel="nofollow" target="_blank"&gt;http://gistest1:6080/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt; }, dom.byId("printButton"));&lt;BR /&gt; printer.startup();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Source reference:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/jssamples/widget_print.html" title="https://developers.arcgis.com/javascript/3/jssamples/widget_print.html"&gt;Print | ArcGIS API for JavaScript 3.22&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Nov 2017 23:22:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-widget-and-browser-print-dialog/m-p/223061#M20727</guid>
      <dc:creator>GregoryJohnson1</dc:creator>
      <dc:date>2017-11-03T23:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Print Widget and Browser Print... Dialog</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-widget-and-browser-print-dialog/m-p/223062#M20728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Because the print output is produced server side and the returned value is just a link this will not be easy. The browsers print preview is for showing a html content print preview of what will be sent to the printer. So in your situation you would have to create a div in the apps main body and add the url of the print widgets result as an image (if you are requesting a pdf then you are out of luck) and then send that div to the browsers print method (this is simple explanation and would involve a lot more detail in truth).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 14:26:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-widget-and-browser-print-dialog/m-p/223062#M20728</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-11-06T14:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: Print Widget and Browser Print... Dialog</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-widget-and-browser-print-dialog/m-p/223063#M20729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, thank you for the reply. G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2017 16:17:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-widget-and-browser-print-dialog/m-p/223063#M20729</guid>
      <dc:creator>GregoryJohnson1</dc:creator>
      <dc:date>2017-11-07T16:17:12Z</dc:date>
    </item>
  </channel>
</rss>

