<?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: Print TextSymbol in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-textsymbol/m-p/460770#M42586</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I clear attributes and info templates before printing and reset them after.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Because graphics are objects you can set all the properties you want.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var graphic = new esri.Graphic(evt, app.anno.sym.point);
var gId = new Date().getTime().toString();
var atts = { id: gId };
graphic.setAttributes(atts);
var it = new esri.InfoTemplate();
it.setTitle('Point');
it.setContent(app.anno.itContentPoint(gId));
graphic.setInfoTemplate(it);
graphic.graphic_id = gId;
graphic.graphic_atts = atts;
graphic.graphic_it = it;
graphic.graphic_text = false;
app.map._layers.gl_anno_point.add(graphic)&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;When creating a graphic set the esri attributes and info template as normal but also set them as unique properties on the graphic object. This concept is extremely useful for more than graphics. I set custom properties on layers, the map, etc to accomplish a variety functionalities.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;graphicsClear: function () {
&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.forEach(app.map._layers.gl_anno_polygon.graphics, function (g) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.setInfoTemplate(null);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.setAttributes(null);
&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.forEach(app.map._layers.gl_anno_polyline.graphics, function (g) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.setInfoTemplate(null);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.setAttributes(null);
&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.forEach(app.map._layers.gl_anno_point.graphics, function (g) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.setInfoTemplate(null);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.setAttributes(null);
&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.forEach(app.map._layers.gl_anno_marker.graphics, function (g) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.setInfoTemplate(null);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.setAttributes(null);
&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.forEach(app.map._layers.gl_anno_text.graphics, function (g) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.setInfoTemplate(null);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.setAttributes(null);
&amp;nbsp;&amp;nbsp;&amp;nbsp; });
},
graphicsReset: function () {
&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.forEach(app.map._layers.gl_anno_polygon.graphics, function (g) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.setInfoTemplate(g.graphic_it);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.setAttributes(g.graphic_atts);
&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.forEach(app.map._layers.gl_anno_polyline.graphics, function (g) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.setInfoTemplate(g.graphic_it);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.setAttributes(g.graphic_atts);
&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.forEach(app.map._layers.gl_anno_point.graphics, function (g) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.setInfoTemplate(g.graphic_it);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.setAttributes(g.graphic_atts);
&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.forEach(app.map._layers.gl_anno_marker.graphics, function (g) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.setInfoTemplate(g.graphic_it);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.setAttributes(g.graphic_atts);
&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.forEach(app.map._layers.gl_anno_text.graphics, function (g) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.setInfoTemplate(g.graphic_it);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.setAttributes(g.graphic_atts);
&amp;nbsp;&amp;nbsp;&amp;nbsp; });
}&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Clear the esri attribute and info template properties before executing the print task. Then reset them at the end of the print task callback function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This takes care of the text symbol print issue, but more important it is reducing the size of the request to the server for the print task. Sending the info template of any graphic, especially one with a custom widget, exponentially increases the request size, and for what?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The other option is a custom print task.&amp;nbsp; The problem there is you still need to clear attributes and info templates from the objects you are creating with the print task before creating the json. Six of one, half dozen of the other.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 20:30:21 GMT</pubDate>
    <dc:creator>BenFousek</dc:creator>
    <dc:date>2021-12-11T20:30:21Z</dc:date>
    <item>
      <title>Print TextSymbol</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-textsymbol/m-p/460764#M42580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When I have TextSymbols in a graphic layer on my map, the print task seems to give an error when I try to print the map. But when I switch off the text symbol graphic layer the print map comes out correctly. Do I have to do some tinkering to make the Text Symbol show up on the print map?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using ArcGIS JavaScript API 3.3 and ArcGIS Server 10.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-lak&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2013 13:01:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-textsymbol/m-p/460764#M42580</guid>
      <dc:creator>lakshmanankrishnan</dc:creator>
      <dc:date>2013-01-15T13:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Print TextSymbol</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-textsymbol/m-p/460765#M42581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Same issue here. I think this is a bug.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 17:11:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-textsymbol/m-p/460765#M42581</guid>
      <dc:creator>HaitingHUANG2</dc:creator>
      <dc:date>2013-02-12T17:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: Print TextSymbol</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-textsymbol/m-p/460766#M42582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have seen allot of forum posts on this:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/61448-Problen-with-the-Print-Task?highlight=print+text"&gt;http://forums.arcgis.com/threads/61448-Problen-with-the-Print-Task?highlight=print+text&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can someone advise if this is a bug or not?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 22:57:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-textsymbol/m-p/460766#M42582</guid>
      <dc:creator>BlairDeaver</dc:creator>
      <dc:date>2013-02-13T22:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: Print TextSymbol</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-textsymbol/m-p/460767#M42583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It looks like Print Task does not like Text Symbol graphics with attributes and infotemplates. Without them your Print Task should work fine. I spoke ESRI tech support about this and they said its a bug in their API. I hope it will be fixed soon.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Below is the bug number for tracking.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#NIM088789&amp;nbsp; Print Task cannot recognize text symbol graphics with attributes and infoTemplates. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-lak&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Feb 2013 13:11:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-textsymbol/m-p/460767#M42583</guid>
      <dc:creator>lakshmanankrishnan</dc:creator>
      <dc:date>2013-02-14T13:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Print TextSymbol</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-textsymbol/m-p/460768#M42584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am having the same issue with Javascript API 3.4.&amp;nbsp; Any solution yet?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2013 14:58:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-textsymbol/m-p/460768#M42584</guid>
      <dc:creator>DK5</dc:creator>
      <dc:date>2013-04-24T14:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: Print TextSymbol</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-textsymbol/m-p/460769#M42585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The same issue is reported here&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/61448-Problen-with-the-Print-Task"&gt;http://forums.arcgis.com/threads/61448-Problen-with-the-Print-Task&lt;BR /&gt;&lt;BR /&gt;W&lt;/A&gt;&lt;SPAN&gt;ith another confirmed bug - I think someone from Esri needs to round all these threads up&amp;nbsp; - close all but one and give some answers - please!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ACM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Apr 2013 12:55:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-textsymbol/m-p/460769#M42585</guid>
      <dc:creator>AdrianMarsden</dc:creator>
      <dc:date>2013-04-26T12:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: Print TextSymbol</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-textsymbol/m-p/460770#M42586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I clear attributes and info templates before printing and reset them after.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Because graphics are objects you can set all the properties you want.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var graphic = new esri.Graphic(evt, app.anno.sym.point);
var gId = new Date().getTime().toString();
var atts = { id: gId };
graphic.setAttributes(atts);
var it = new esri.InfoTemplate();
it.setTitle('Point');
it.setContent(app.anno.itContentPoint(gId));
graphic.setInfoTemplate(it);
graphic.graphic_id = gId;
graphic.graphic_atts = atts;
graphic.graphic_it = it;
graphic.graphic_text = false;
app.map._layers.gl_anno_point.add(graphic)&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;When creating a graphic set the esri attributes and info template as normal but also set them as unique properties on the graphic object. This concept is extremely useful for more than graphics. I set custom properties on layers, the map, etc to accomplish a variety functionalities.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;graphicsClear: function () {
&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.forEach(app.map._layers.gl_anno_polygon.graphics, function (g) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.setInfoTemplate(null);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.setAttributes(null);
&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.forEach(app.map._layers.gl_anno_polyline.graphics, function (g) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.setInfoTemplate(null);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.setAttributes(null);
&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.forEach(app.map._layers.gl_anno_point.graphics, function (g) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.setInfoTemplate(null);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.setAttributes(null);
&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.forEach(app.map._layers.gl_anno_marker.graphics, function (g) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.setInfoTemplate(null);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.setAttributes(null);
&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.forEach(app.map._layers.gl_anno_text.graphics, function (g) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.setInfoTemplate(null);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.setAttributes(null);
&amp;nbsp;&amp;nbsp;&amp;nbsp; });
},
graphicsReset: function () {
&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.forEach(app.map._layers.gl_anno_polygon.graphics, function (g) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.setInfoTemplate(g.graphic_it);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.setAttributes(g.graphic_atts);
&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.forEach(app.map._layers.gl_anno_polyline.graphics, function (g) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.setInfoTemplate(g.graphic_it);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.setAttributes(g.graphic_atts);
&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.forEach(app.map._layers.gl_anno_point.graphics, function (g) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.setInfoTemplate(g.graphic_it);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.setAttributes(g.graphic_atts);
&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.forEach(app.map._layers.gl_anno_marker.graphics, function (g) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.setInfoTemplate(g.graphic_it);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.setAttributes(g.graphic_atts);
&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.forEach(app.map._layers.gl_anno_text.graphics, function (g) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.setInfoTemplate(g.graphic_it);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.setAttributes(g.graphic_atts);
&amp;nbsp;&amp;nbsp;&amp;nbsp; });
}&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Clear the esri attribute and info template properties before executing the print task. Then reset them at the end of the print task callback function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This takes care of the text symbol print issue, but more important it is reducing the size of the request to the server for the print task. Sending the info template of any graphic, especially one with a custom widget, exponentially increases the request size, and for what?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The other option is a custom print task.&amp;nbsp; The problem there is you still need to clear attributes and info templates from the objects you are creating with the print task before creating the json. Six of one, half dozen of the other.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 20:30:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-textsymbol/m-p/460770#M42586</guid>
      <dc:creator>BenFousek</dc:creator>
      <dc:date>2021-12-11T20:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: Print TextSymbol</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-textsymbol/m-p/460771#M42587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@adrian.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;these are two different bugs.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Apr 2013 17:37:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-textsymbol/m-p/460771#M42587</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2013-04-26T17:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: Print TextSymbol</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-textsymbol/m-p/460772#M42588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK - this may be a noob question (sorry, too much gaming this weekend!) but what exactly do the templates do?&amp;nbsp; Is there any need to re-establish them?&amp;nbsp; Could I not simply destroy them on creation?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ACM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Apr 2013 09:17:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-textsymbol/m-p/460772#M42588</guid>
      <dc:creator>AdrianMarsden</dc:creator>
      <dc:date>2013-04-28T09:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: Print TextSymbol</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-textsymbol/m-p/460773#M42589</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok - using the code above I got it not to error - but then I hit the second bug of it not taking any styles to the print .&amp;nbsp; Doh!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any fixes anyone for this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ACM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Apr 2013 14:46:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-textsymbol/m-p/460773#M42589</guid>
      <dc:creator>AdrianMarsden</dc:creator>
      <dc:date>2013-04-28T14:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: Print TextSymbol</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-textsymbol/m-p/460774#M42590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;but then I hit the second bug of it not taking any styles to the print .&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You're not clearing the symbology are you?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2013 13:40:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-textsymbol/m-p/460774#M42590</guid>
      <dc:creator>BenFousek</dc:creator>
      <dc:date>2013-04-29T13:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: Print TextSymbol</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-textsymbol/m-p/460775#M42591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Nope just &lt;/SPAN&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #333333; font-family: Courier New;"&gt; g.setInfoTemplate(null);
&lt;/SPAN&gt;&lt;SPAN style="color: #333333; font-family: Courier New;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; g.setAttributes(null);&lt;/SPAN&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For everything - polygons and stuff all print fine - but the bug seems to fit what happens now&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;SPAN style="color:#333333;"&gt;[NIM090748: Printing service fails to honour the font size of textSymbols.]&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 20:30:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/print-textsymbol/m-p/460775#M42591</guid>
      <dc:creator>AdrianMarsden</dc:creator>
      <dc:date>2021-12-11T20:30:24Z</dc:date>
    </item>
  </channel>
</rss>

