<?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: Error in printing Buffer with parcels highlighted in graphics layer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-in-printing-buffer-with-parcels-highlighted/m-p/630736#M58844</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I see this is old but using the Javascript 3.9 API I get the same error message. I have one polygon and thats it. It renders on the map fine but get "Invalid r value in color: 0." when trying to print.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Actually. All it prints is the base map. The dynamic map service contents also render fine but don't show up in the PDF. the dynamic map service layer doesn't generate any errors though.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Of note. Zero is not an invalid red value.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Heh. As always. as soon as I post I fix it. Well. The error message anyway. If you pass something like "#ffffff" it will render ok but not print. For printing to work you need to use dojo.Color("#ffffff").&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Jun 2014 04:53:55 GMT</pubDate>
    <dc:creator>StevenWhite</dc:creator>
    <dc:date>2014-06-12T04:53:55Z</dc:date>
    <item>
      <title>Error in printing Buffer with parcels highlighted in graphics layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-in-printing-buffer-with-parcels-highlighted/m-p/630734#M58842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Good afternoon forum friends!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was hoping someone could help us with a.&amp;nbsp;&amp;nbsp; Our current software version is ArcGIS Server 10.1 and we are using the ESRI JavaScript 3.6 API.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We have two major issues 1) printing text symbol graphics when exporting a map and 2) we get an error in printing when we buffer a parcel and trying to print all the highlighting graphics layer to a map.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Text Issue: When printing a map with graphic text symbols the graphic is not captured there for it will not display on the printed map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We are not seeing any error issues it just appears that the graphic is not being captured.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Buffering issue:&amp;nbsp; We get an error in printing when we buffer a parcel and trying to print all the highlighting graphics layer to a map.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Error message:&amp;nbsp; JS ??? Error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"Error executing tool.: Layer "map_graphics": Invalid r value in color: 0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Layer "map_graphics": Invalid r value in color: 0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Layer "map_graphics": Invalid r value in color: 0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Layer "map_graphics": Invalid r value in color: 0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Layer "map_graphics": Invalid r value in color: 0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Layer "map_graphics": Invalid r value in color: 0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Layer "map_graphics": Invalid r value in color: 0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Layer "map_graphics": Invalid r value in color: 0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute (Export Web Map).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute (Export Web Map Task)."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Print Task Snippet:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;//CREATE PRINT TEMPLATE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var template = new esri.tasks.PrintTemplate();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; template.exportOptions = {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; width: 530,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; height: 620,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dpi: 96&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; template.format = "jpg"; // pdf | png32 | png8 | jpg | gif | eps | svg | svgz ;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; template.layout = "MAP_ONLY";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; template.preserveScale = true;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; template.showAttribution = false;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //CREATE PRINT PARAMS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var params = new esri.tasks.PrintParameters();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; params.map = pMap;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; params.template = template;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //EXECUTE PRINT&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (printTask) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printTask.execute(params, getMapImageForPDFResult, getMapImageForPDFError);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;JS ??? Error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"Error executing tool.: Layer "map_graphics": Invalid r value in color: 0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Layer "map_graphics": Invalid r value in color: 0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Layer "map_graphics": Invalid r value in color: 0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Layer "map_graphics": Invalid r value in color: 0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Layer "map_graphics": Invalid r value in color: 0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Layer "map_graphics": Invalid r value in color: 0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Layer "map_graphics": Invalid r value in color: 0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Layer "map_graphics": Invalid r value in color: 0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute (Export Web Map).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Failed to execute (Export Web Map Task)."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]28882[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2013 19:59:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-in-printing-buffer-with-parcels-highlighted/m-p/630734#M58842</guid>
      <dc:creator>CarlosVulgamott</dc:creator>
      <dc:date>2013-11-05T19:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error in printing Buffer with parcels highlighted in graphics layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-in-printing-buffer-with-parcels-highlighted/m-p/630735#M58843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Without code details, hard to tell what went wrong.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Due to some issues with the PrintTask, the best suggestion I can give to you is to save each type of graphics into a separate graphics layer. Basically, one layer for points, one layer for text graphics, one layer for lines and one for polygons. Refer to this &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/94087-Print-a-graphics-layer-containing-points-and-texts?p=335011#post335011"&gt;thread &lt;/A&gt;&lt;SPAN&gt;for some details.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2013 02:20:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-in-printing-buffer-with-parcels-highlighted/m-p/630735#M58843</guid>
      <dc:creator>JasonZou</dc:creator>
      <dc:date>2013-11-06T02:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Error in printing Buffer with parcels highlighted in graphics layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-in-printing-buffer-with-parcels-highlighted/m-p/630736#M58844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I see this is old but using the Javascript 3.9 API I get the same error message. I have one polygon and thats it. It renders on the map fine but get "Invalid r value in color: 0." when trying to print.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Actually. All it prints is the base map. The dynamic map service contents also render fine but don't show up in the PDF. the dynamic map service layer doesn't generate any errors though.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Of note. Zero is not an invalid red value.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Heh. As always. as soon as I post I fix it. Well. The error message anyway. If you pass something like "#ffffff" it will render ok but not print. For printing to work you need to use dojo.Color("#ffffff").&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2014 04:53:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-in-printing-buffer-with-parcels-highlighted/m-p/630736#M58844</guid>
      <dc:creator>StevenWhite</dc:creator>
      <dc:date>2014-06-12T04:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error in printing Buffer with parcels highlighted in graphics layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-in-printing-buffer-with-parcels-highlighted/m-p/630737#M58845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/40581"&gt;Steven White&lt;/A&gt;​ seems to have the correct answer.&lt;/P&gt;&lt;P&gt;I had the same problem printing graphics layers (and feature layers) that had graphics assigned using RGB colors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted to use RGB so I could set an alpha value to the graphic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a work around I set the colors using hexadecimal color and just set an opacity value on the graphics layer and / or feature layer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Dec 2015 18:02:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-in-printing-buffer-with-parcels-highlighted/m-p/630737#M58845</guid>
      <dc:creator>Kathleen_Crombez</dc:creator>
      <dc:date>2015-12-08T18:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Error in printing Buffer with parcels highlighted in graphics layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-in-printing-buffer-with-parcels-highlighted/m-p/630738#M58846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for posting this issue.&lt;/P&gt;&lt;P&gt;I just hit the same issue with Portal for ArcGIS 10.5&lt;/P&gt;&lt;P&gt;Do you know a fix for it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2017 16:15:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-in-printing-buffer-with-parcels-highlighted/m-p/630738#M58846</guid>
      <dc:creator>BillFox</dc:creator>
      <dc:date>2017-02-28T16:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Error in printing Buffer with parcels highlighted in graphics layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-in-printing-buffer-with-parcels-highlighted/m-p/630739#M58847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I opened a case with ESRI support for this 10.5 issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2017 16:03:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-in-printing-buffer-with-parcels-highlighted/m-p/630739#M58847</guid>
      <dc:creator>BillFox</dc:creator>
      <dc:date>2017-03-01T16:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error in printing Buffer with parcels highlighted in graphics layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-in-printing-buffer-with-parcels-highlighted/m-p/630740#M58848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you get a solution from Esri? I just ran into the same problem running Portal 10.5.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2017 17:34:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-in-printing-buffer-with-parcels-highlighted/m-p/630740#M58848</guid>
      <dc:creator>JasonHarshman</dc:creator>
      <dc:date>2017-11-02T17:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: Error in printing Buffer with parcels highlighted in graphics layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-in-printing-buffer-with-parcels-highlighted/m-p/630741#M58849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Hi Jason,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;[BUG-000104266 : Unable to Print when including graphical layer generated from Incident Analysis Widget in Portal 10.5 Web AppBuilder]&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Hopefully it gets fixed in 10.5.1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;-Bill&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2017 21:36:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/error-in-printing-buffer-with-parcels-highlighted/m-p/630741#M58849</guid>
      <dc:creator>BillFox</dc:creator>
      <dc:date>2017-11-02T21:36:22Z</dc:date>
    </item>
  </channel>
</rss>

