Print Widget

2057
1
06-26-2014 05:34 PM
KeisukeNozaki
Occasional Contributor II
I am having issues with default print widget from esri.
Randomly, it takes very long to respond after clicking Print and shows the following error message.
[ATTACH=CONFIG]34935[/ATTACH]
I am using a print service from ArcGIS Online (http://sampleserver6.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%2...).
I would like to include PrintWidget.xml in case.
<?xml version="1.0" ?>
<configuration>
    <!-- change this URL to your own Export Web Map Task (requires ArcGIS 10.1), or just remove the taskurl tag to get quick printing -->
    <taskurl>http://sampleserver6.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task</taskurl>
    <title visible="true">McDonough County, IL</title>
    <author></author>
    <dpi>150</dpi>
    <usescale defaultvalue="5000">false</usescale>
    <layouttemplates>
    <layouttemplate>Letter ANSI A Landscape</layouttemplate>
    <layouttemplate>Letter ANSI A Portrait</layouttemplate>
    <layouttemplate>Tabloid ANSI B Landscape</layouttemplate>
    <layouttemplate>Tabloid ANSI B Portrait</layouttemplate>
     </layouttemplates>
     <copyright visible="true" defaultvalue="WIU GIS Center"></copyright>
      <formats visible="true" defaultvalue="PDF">
      <format>PDF</format>
      <format>JPG</format>
      <format>PNG32</format>
      </formats>
      <excludelayerfromlegend></excludelayerfromlegend>
</configuration>

Any advice would be appreciated.
Thank you.
Tags (2)
0 Kudos
1 Reply
BillLotz
Occasional Contributor II
Hello Mr. Nozaki,
Your print widget is still pointing to ESRI's sampleserver. If you point it to your own server you should get better results.

Here is a link for setting it up in 10.1,

http://resources.arcgis.com/en/help/main/10.1/index.html#/Tutorial_Publishing_additional_services_fo...
Good luck
0 Kudos