<?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: Text symbol not coming after print in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/text-symbol-not-coming-after-print/m-p/1105484#M74902</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/169842"&gt;@Noah-Sager&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/496923"&gt;@Bishrant&lt;/a&gt;&amp;nbsp;I finally resolved it. I have changed&amp;nbsp; textSymbol = new TextSymbol(stop.attributes.OBJECTID);&amp;nbsp;&lt;/P&gt;&lt;P&gt;to&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;textSymbol = new TextSymbol(stop.attributes.OBJECTID.toString());&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks guys for the help and time. Appreciate your support.&lt;/P&gt;&lt;P&gt;Aditya&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Oct 2021 11:11:48 GMT</pubDate>
    <dc:creator>ADITYAKUMAR1</dc:creator>
    <dc:date>2021-10-07T11:11:48Z</dc:date>
    <item>
      <title>Text symbol not coming after print</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/text-symbol-not-coming-after-print/m-p/1103441#M74843</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I am trying to print the text symbol on the map. The textsymbol is available on the map, but when we print it as PDF it's not available. Any idea why it's happening? I am using ArcGIS JavasScript APi&amp;nbsp; 3.26.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ADITYAKUMAR1_0-1633003531720.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/24234iB66D263ADC0A7B39/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ADITYAKUMAR1_0-1633003531720.png" alt="ADITYAKUMAR1_0-1633003531720.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The text symbol on map.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ADITYAKUMAR1_1-1633003614407.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/24235iB4D9B497615DB734/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ADITYAKUMAR1_1-1633003614407.png" alt="ADITYAKUMAR1_1-1633003614407.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Text symbol not available in the print pdf.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the code I am using for text symbol.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;var symbol = new PictureMarkerSymbol(xxxxxurl+ "Images/marker/inspection-map-markers-no-status.png", 22, 22).setOffset(0, 5);&lt;BR /&gt;textSymbol = new TextSymbol(stop.attributes.OBJECTID);&lt;BR /&gt;textSymbol.setFont(font);&lt;BR /&gt;textSymbol.setColor(new Color([255, 255, 255]));&lt;BR /&gt;textSymbol.setAlign(TextSymbol.ALIGN_MIDDLE);&lt;BR /&gt;textSymbol.setAngle(0);&lt;BR /&gt;textSymbol.setOffset(1, 0);&lt;BR /&gt;var newGraphic = new Graphic(stop.toJson());&lt;BR /&gt;newGraphic.setSymbol(symbol);&lt;BR /&gt;graphics.add(newGraphic);&lt;BR /&gt;var Graphictext = new Graphic(stop.toJson());&lt;BR /&gt;Graphictext.setSymbol(textSymbol);&lt;BR /&gt;graphics.add(Graphictext);&lt;BR /&gt;stop.setSymbol(textSymbol);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Aditya Kumar&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2021 12:09:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/text-symbol-not-coming-after-print/m-p/1103441#M74843</guid>
      <dc:creator>ADITYAKUMAR1</dc:creator>
      <dc:date>2021-09-30T12:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Text symbol not coming after print</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/text-symbol-not-coming-after-print/m-p/1103497#M74844</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/80707"&gt;@ADITYAKUMAR1&lt;/a&gt;, my hunch is that the symbol is not accessible to the print server. If it's being locally hosted, try hosting it publicly and see if that helps.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2021 14:14:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/text-symbol-not-coming-after-print/m-p/1103497#M74844</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2021-09-30T14:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Text symbol not coming after print</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/text-symbol-not-coming-after-print/m-p/1103573#M74845</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/169842"&gt;@Noah-Sager&lt;/a&gt;&amp;nbsp; Thanks for responding. I believe you are talking about the print service to be public. In my case our&amp;nbsp;PrintingTools (GPServer) is hosted publically.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Aditya&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2021 15:48:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/text-symbol-not-coming-after-print/m-p/1103573#M74845</guid>
      <dc:creator>ADITYAKUMAR1</dc:creator>
      <dc:date>2021-09-30T15:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: Text symbol not coming after print</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/text-symbol-not-coming-after-print/m-p/1103584#M74846</link>
      <description>&lt;P&gt;I'm talking about the symbol. This line in particular:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;var symbol = new PictureMarkerSymbol(xxxxxurl+ "Images/marker/inspection-map-markers-no-status.png"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The symbol resource needs to be available to the print server. So if it's hosted locally, and the app is hosted locally, and the print server can't access the local symbol resource, then the printout would be missing those symbols. Does that make sense?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2021 15:58:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/text-symbol-not-coming-after-print/m-p/1103584#M74846</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2021-09-30T15:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: Text symbol not coming after print</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/text-symbol-not-coming-after-print/m-p/1103621#M74847</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/169842"&gt;@Noah-Sager&lt;/a&gt;&amp;nbsp;I removed the picturemarker symbol and then tried to print it. But the result is still the same.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ADITYAKUMAR1_0-1633021271477.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/24278i064D00906168B4C2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ADITYAKUMAR1_0-1633021271477.png" alt="ADITYAKUMAR1_0-1633021271477.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Print result&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ADITYAKUMAR1_1-1633021303832.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/24279i0C1867CF0D1F4524/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ADITYAKUMAR1_1-1633021303832.png" alt="ADITYAKUMAR1_1-1633021303832.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2021 17:02:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/text-symbol-not-coming-after-print/m-p/1103621#M74847</guid>
      <dc:creator>ADITYAKUMAR1</dc:creator>
      <dc:date>2021-09-30T17:02:31Z</dc:date>
    </item>
    <item>
      <title>Re: Text symbol not coming after print</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/text-symbol-not-coming-after-print/m-p/1103945#M74854</link>
      <description>&lt;P&gt;Hmm, can you provide a simplified test app so I can test on my end? Using something like codepen would be fine.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Oct 2021 14:19:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/text-symbol-not-coming-after-print/m-p/1103945#M74854</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2021-10-01T14:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: Text symbol not coming after print</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/text-symbol-not-coming-after-print/m-p/1104241#M74861</link>
      <description>&lt;P&gt;My guess would be the font, check if removing font and/or changing the font-family when you constructed your font object makes a difference.&lt;/P&gt;</description>
      <pubDate>Sun, 03 Oct 2021 15:29:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/text-symbol-not-coming-after-print/m-p/1104241#M74861</guid>
      <dc:creator>Bishrant</dc:creator>
      <dc:date>2021-10-03T15:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: Text symbol not coming after print</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/text-symbol-not-coming-after-print/m-p/1104299#M74863</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/496923"&gt;@Bishrant&lt;/a&gt;&amp;nbsp;Thanks for responding. I tried changing the font from&amp;nbsp;&lt;/P&gt;&lt;P&gt;var font = new esri.symbol.Font("12pt", esri.symbol.Font.STYLE_NORMAL, esri.symbol.Font.VARIANT_NORMAL, esri.symbol.Font.WEIGHT_BOLD, "Helvetica");&lt;/P&gt;&lt;P&gt;to&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; &lt;SPAN class=""&gt;var&lt;/SPAN&gt;&lt;SPAN class=""&gt; font &lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;new&lt;/SPAN&gt; &lt;SPAN class=""&gt;Font&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;"20pt"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt; &lt;SPAN class=""&gt;Font&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;STYLE_ITALIC&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class=""&gt;Font&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;VARIANT_NORMAL&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt; &lt;SPAN class=""&gt;Font&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;WEIGHT_BOLD&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;"Courier"&lt;/SPAN&gt;&lt;SPAN class=""&gt;);&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;but the problem is still the same.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Aditya&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Oct 2021 05:44:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/text-symbol-not-coming-after-print/m-p/1104299#M74863</guid>
      <dc:creator>ADITYAKUMAR1</dc:creator>
      <dc:date>2021-10-04T05:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: Text symbol not coming after print</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/text-symbol-not-coming-after-print/m-p/1104380#M74869</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/80707"&gt;@ADITYAKUMAR1&lt;/a&gt;&amp;nbsp;You don't even have to specify the font-family as it's&amp;nbsp; optional and will default to '&lt;SPAN&gt;Serif'. Try changing that font declaration to something like this:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt; &lt;SPAN class=""&gt;var&lt;/SPAN&gt;&lt;SPAN class=""&gt; font &lt;/SPAN&gt;&lt;SPAN class=""&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;new&lt;/SPAN&gt; &lt;SPAN class=""&gt;Font&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;"20pt"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt; &lt;SPAN class=""&gt;Font&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;STYLE_ITALIC&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class=""&gt;Font&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;VARIANT_NORMAL&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt; &lt;SPAN class=""&gt;Font&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;WEIGHT_BOLD&lt;/SPAN&gt;&lt;SPAN class=""&gt;);&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Oct 2021 13:10:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/text-symbol-not-coming-after-print/m-p/1104380#M74869</guid>
      <dc:creator>Bishrant</dc:creator>
      <dc:date>2021-10-04T13:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: Text symbol not coming after print</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/text-symbol-not-coming-after-print/m-p/1105474#M74900</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/169842"&gt;@Noah-Sager&lt;/a&gt;&amp;nbsp;Sorry for delayed response. I have attached a HTML file. I have tried everything its not working.&lt;/P&gt;&lt;P&gt;But there is a catch in this file. If you go to line number 163&amp;nbsp;textSymbol = new TextSymbol(i++); On every click the number will change and you wont get the number in the print pdf but if the same number if you make it static&amp;nbsp;textSymbol = new TextSymbol("1");&amp;nbsp; then you will get the print.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Oct 2021 10:24:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/text-symbol-not-coming-after-print/m-p/1105474#M74900</guid>
      <dc:creator>ADITYAKUMAR1</dc:creator>
      <dc:date>2021-10-07T10:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: Text symbol not coming after print</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/text-symbol-not-coming-after-print/m-p/1105475#M74901</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/496923"&gt;@Bishrant&lt;/a&gt;&amp;nbsp;&amp;nbsp;Sorry for delayed response. I have attached a HTML file. I have tried everything its not working.&lt;/P&gt;&lt;P&gt;But there is a catch in this file. If you go to line number 163&amp;nbsp;textSymbol = new TextSymbol(i++); On every click the number will change and you wont get the number in the print pdf but if the same number if you make it static&amp;nbsp;textSymbol = new TextSymbol("1");&amp;nbsp; then you will get the print.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Oct 2021 10:25:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/text-symbol-not-coming-after-print/m-p/1105475#M74901</guid>
      <dc:creator>ADITYAKUMAR1</dc:creator>
      <dc:date>2021-10-07T10:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: Text symbol not coming after print</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/text-symbol-not-coming-after-print/m-p/1105484#M74902</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/169842"&gt;@Noah-Sager&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/496923"&gt;@Bishrant&lt;/a&gt;&amp;nbsp;I finally resolved it. I have changed&amp;nbsp; textSymbol = new TextSymbol(stop.attributes.OBJECTID);&amp;nbsp;&lt;/P&gt;&lt;P&gt;to&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;textSymbol = new TextSymbol(stop.attributes.OBJECTID.toString());&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks guys for the help and time. Appreciate your support.&lt;/P&gt;&lt;P&gt;Aditya&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Oct 2021 11:11:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/text-symbol-not-coming-after-print/m-p/1105484#M74902</guid>
      <dc:creator>ADITYAKUMAR1</dc:creator>
      <dc:date>2021-10-07T11:11:48Z</dc:date>
    </item>
  </channel>
</rss>

