<?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: Printing tables to pdf along with map in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/printing-tables-to-pdf-along-with-map/m-p/286989#M6827</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi ,&lt;BR /&gt;Has anyone tried to include the Legend using this code?&lt;BR /&gt;I need to include the Legend on the map, but no luck .Please help.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I ran a quick test and it is possible using alivePDF, just add your legend as a component to the map and you can use the addimage property in alivePDf to add the legend as an image to the report.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Jan 2014 12:10:32 GMT</pubDate>
    <dc:creator>AaronNash1</dc:creator>
    <dc:date>2014-01-28T12:10:32Z</dc:date>
    <item>
      <title>Printing tables to pdf along with map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/printing-tables-to-pdf-along-with-map/m-p/286980#M6818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Everyone,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to print tables generated using a query along with the Map in "pdf" format such that they are auto arranged in the white &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;space on the map. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am looking for any suggestion using flex which can help me do this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in Advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Iris&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Oct 2013 03:45:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/printing-tables-to-pdf-along-with-map/m-p/286980#M6818</guid>
      <dc:creator>IrisGreen</dc:creator>
      <dc:date>2013-10-04T03:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Printing tables to pdf along with map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/printing-tables-to-pdf-along-with-map/m-p/286981#M6819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was able to accomplish this using AlivePDF, it is an open source PDF printing API. You can take any of the columns of a datagrid and publish that into a PDF report. You can also take display features (like a map) and print them as images in the report. I attached two sample reports, one is a list out of a datagrid, the other is an inspection report and shows a map. When pulling data from a datagrid it honors the sort.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Oct 2013 15:57:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/printing-tables-to-pdf-along-with-map/m-p/286981#M6819</guid>
      <dc:creator>AaronNash1</dc:creator>
      <dc:date>2013-10-04T15:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: Printing tables to pdf along with map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/printing-tables-to-pdf-along-with-map/m-p/286982#M6820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;we use coldfusion + iText for this server side. we build the attribute tables dynamically, measure their sizes once the tables are filled w/data, then merge them w/the PDF map document produced by the AGS print task, sticking what fits in the map's white space &amp;amp; dumping what doesn't onto supplemental pages. iText gives you an insane amount of control, coldfusion lets us glue this altogether more easily. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i suppose anything server side that can talk to java or c# an be used w/iText (it has java &amp;amp; c# versions).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;we've tried purePDF (partial AS3 port of iText) &amp;amp; alivePDf client side but we found these too slow &amp;amp; lacking some functionality.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Oct 2013 16:17:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/printing-tables-to-pdf-along-with-map/m-p/286982#M6820</guid>
      <dc:creator>PaulHastings1</dc:creator>
      <dc:date>2013-10-04T16:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Printing tables to pdf along with map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/printing-tables-to-pdf-along-with-map/m-p/286983#M6821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank You Folks!! Will look into you suggestions.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2013 03:52:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/printing-tables-to-pdf-along-with-map/m-p/286983#M6821</guid>
      <dc:creator>IrisGreen</dc:creator>
      <dc:date>2013-10-07T03:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: Printing tables to pdf along with map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/printing-tables-to-pdf-along-with-map/m-p/286984#M6822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I was able to accomplish this using AlivePDF, it is an open source PDF printing API. You can take any of the columns of a datagrid and publish that into a PDF report. You can also take display features (like a map) and print them as images in the report. I attached two sample reports, one is a list out of a datagrid, the other is an inspection report and shows a map. When pulling data from a datagrid it honors the sort.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Aaron - I am trying to do something almost identical to what you shared with your Test.PDF document. I have implemented similar things on the .NET side, but trying to output this from the flex API is stumping me. Anyway you could share some code?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Nov 2013 19:27:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/printing-tables-to-pdf-along-with-map/m-p/286984#M6822</guid>
      <dc:creator>PamTurner</dc:creator>
      <dc:date>2013-11-11T19:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: Printing tables to pdf along with map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/printing-tables-to-pdf-along-with-map/m-p/286985#M6823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;attached is the code I used in my application. Any questions let me know&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Nov 2013 11:14:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/printing-tables-to-pdf-along-with-map/m-p/286985#M6823</guid>
      <dc:creator>AaronNash1</dc:creator>
      <dc:date>2013-11-12T11:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Printing tables to pdf along with map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/printing-tables-to-pdf-along-with-map/m-p/286986#M6824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Paul. Would you mid sharing the source code in CF? Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;we use coldfusion + iText for this server side. we build the attribute tables dynamically, measure their sizes once the tables are filled w/data, then merge them w/the PDF map document produced by the AGS print task, sticking what fits in the map's white space &amp;amp; dumping what doesn't onto supplemental pages. iText gives you an insane amount of control, coldfusion lets us glue this altogether more easily. &lt;BR /&gt;&lt;BR /&gt;i suppose anything server side that can talk to java or c# an be used w/iText (it has java &amp;amp; c# versions).&lt;BR /&gt;&lt;BR /&gt;we've tried purePDF (partial AS3 port of iText) &amp;amp; alivePDf client side but we found these too slow &amp;amp; lacking some functionality.&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2014 02:22:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/printing-tables-to-pdf-along-with-map/m-p/286986#M6824</guid>
      <dc:creator>LefterisKoumis</dc:creator>
      <dc:date>2014-01-08T02:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Printing tables to pdf along with map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/printing-tables-to-pdf-along-with-map/m-p/286987#M6825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;attached is the code I used in my application. Any questions let me know&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi ,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone tried to include the Legend using this code?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to include the Legend on the map, but no luck .Please help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2014 12:33:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/printing-tables-to-pdf-along-with-map/m-p/286987#M6825</guid>
      <dc:creator>MGSethe</dc:creator>
      <dc:date>2014-01-23T12:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: Printing tables to pdf along with map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/printing-tables-to-pdf-along-with-map/m-p/286988#M6826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hello Paul. Would you mid sharing the source code in CF? Thanks.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;oops didn't see this until just now. sorry no, its the clients. but if you have specific questions i can probably whip up generic cf code.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jan 2014 06:45:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/printing-tables-to-pdf-along-with-map/m-p/286988#M6826</guid>
      <dc:creator>PaulHastings1</dc:creator>
      <dc:date>2014-01-24T06:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: Printing tables to pdf along with map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/printing-tables-to-pdf-along-with-map/m-p/286989#M6827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi ,&lt;BR /&gt;Has anyone tried to include the Legend using this code?&lt;BR /&gt;I need to include the Legend on the map, but no luck .Please help.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I ran a quick test and it is possible using alivePDF, just add your legend as a component to the map and you can use the addimage property in alivePDf to add the legend as an image to the report.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 12:10:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/printing-tables-to-pdf-along-with-map/m-p/286989#M6827</guid>
      <dc:creator>AaronNash1</dc:creator>
      <dc:date>2014-01-28T12:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: Printing tables to pdf along with map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/printing-tables-to-pdf-along-with-map/m-p/286990#M6828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I ran a quick test and it is possible using alivePDF, just add your legend as a component to the map and you can use the addimage property in alivePDf to add the legend as an image to the report.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello Aaron&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the quick reply, I tried it and I am not winning, could you please share the code you have if you do not mind?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am referring to the code that have the Legend.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanking you in advance&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jan 2014 17:25:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/printing-tables-to-pdf-along-with-map/m-p/286990#M6828</guid>
      <dc:creator>MGSethe</dc:creator>
      <dc:date>2014-01-28T17:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: Printing tables to pdf along with map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/printing-tables-to-pdf-along-with-map/m-p/286991#M6829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;attached is a text file of the project I was working on, its a simple PDF report. just shows that it can be done.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jan 2014 18:18:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/printing-tables-to-pdf-along-with-map/m-p/286991#M6829</guid>
      <dc:creator>AaronNash1</dc:creator>
      <dc:date>2014-01-30T18:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: Printing tables to pdf along with map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/printing-tables-to-pdf-along-with-map/m-p/286992#M6830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks a million times. It did the trick&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2014 05:55:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/printing-tables-to-pdf-along-with-map/m-p/286992#M6830</guid>
      <dc:creator>MGSethe</dc:creator>
      <dc:date>2014-02-12T05:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: Printing tables to pdf along with map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/printing-tables-to-pdf-along-with-map/m-p/286993#M6831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;oops didn't see this until just now. sorry no, its the clients. but if you have specific questions i can probably whip up generic cf code.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you Paul.&amp;nbsp; I am interested to see how you posted the legend. Any generic code to share, I'd appreciate it. Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 18:19:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/printing-tables-to-pdf-along-with-map/m-p/286993#M6831</guid>
      <dc:creator>LefterisKoumis</dc:creator>
      <dc:date>2014-04-28T18:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Printing tables to pdf along with map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/printing-tables-to-pdf-along-with-map/m-p/286994#M6832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;our suite of apps parses the layers in each map service the apps will use via rest calls (an admin app that sets which users/groups can use which map services/tools, etc). that includes the legends. that's all stored in a sql server table &amp;amp; this reporting tool simply pulls that data out of the table &amp;amp; adds it to the PDF.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the map template is from arcMap. i get a PDF of that blank template &amp;amp; measure out the available space for the legend, etc. using a PDF tool (foxit for example)--mainly because the designers either don't know or won't say the space available for each piece of the template. those become constants. the legend,etc. tables are built in server memory &amp;amp; measured against the available space.if they fit, they go in, if not they get added to a supplemental page (next iteration will measure rows &amp;amp; fit as many as possible instead of this binary approach).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if you can read coldfusion, i'll try to get a generic example together.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 07:16:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/printing-tables-to-pdf-along-with-map/m-p/286994#M6832</guid>
      <dc:creator>PaulHastings1</dc:creator>
      <dc:date>2014-04-29T07:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: Printing tables to pdf along with map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/printing-tables-to-pdf-along-with-map/m-p/286995#M6833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;our suite of apps parses the layers in each map service the apps will use via rest calls (an admin app that sets which users/groups can use which map services/tools, etc). that includes the legends. that's all stored in a sql server table &amp;amp; this reporting tool simply pulls that data out of the table &amp;amp; adds it to the PDF.&lt;BR /&gt;&lt;BR /&gt;the map template is from arcMap. i get a PDF of that blank template &amp;amp; measure out the available space for the legend, etc. using a PDF tool (foxit for example)--mainly because the designers either don't know or won't say the space available for each piece of the template. those become constants. the legend,etc. tables are built in server memory &amp;amp; measured against the available space.if they fit, they go in, if not they get added to a supplemental page (next iteration will measure rows &amp;amp; fit as many as possible instead of this binary approach).&lt;BR /&gt;&lt;BR /&gt;if you can read coldfusion, i'll try to get a generic example together.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your reply, Paul. It it very interesting the approach you described and open up to me new possibilities. I have a license of CF 9, and I was using it for web apps but since then I turned my attention to ASP.NET. Based on your reply, it seems that you also have a license for the Foxit PDF SDK to implement in your solution.&amp;nbsp; If you provide a generic example it will be very helpful. Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Apr 2014 14:21:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/printing-tables-to-pdf-along-with-map/m-p/286995#M6833</guid>
      <dc:creator>LefterisKoumis</dc:creator>
      <dc:date>2014-04-29T14:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: Printing tables to pdf along with map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/printing-tables-to-pdf-along-with-map/m-p/286996#M6834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;no, as i said, we're using coldfusion &amp;amp; the iText version that comes w/it, server side. foxit that i used to measure the template bits is the free version. nothing special about it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2014 08:56:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/printing-tables-to-pdf-along-with-map/m-p/286996#M6834</guid>
      <dc:creator>PaulHastings1</dc:creator>
      <dc:date>2014-04-30T08:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: Printing tables to pdf along with map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/printing-tables-to-pdf-along-with-map/m-p/286997#M6835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;attached is the code I used in my application. Any questions let me know&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Aaron, thank you for posting the code for printing the display features in a pdf. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For the report.pdf, I assume that you used a spark datagrid. Could you please post the code for printing to pdf the datagrid as displayed in the report.pdf? Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 00:08:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/printing-tables-to-pdf-along-with-map/m-p/286997#M6835</guid>
      <dc:creator>LefterisKoumis</dc:creator>
      <dc:date>2014-05-08T00:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: Printing tables to pdf along with map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/printing-tables-to-pdf-along-with-map/m-p/286998#M6836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;here is some code for just printing a table &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;public function generatePDF2():void
{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var myCoreFont1:IFont = new CoreFont ( FontFamily.ARIAL );
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myPDF = new PDF(Orientation.PORTRAIT, Unit.MM, Size.TABLOID);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myPDF.setDisplayMode( Display.FULL_PAGE, Layout.SINGLE_PAGE );
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myPDF.addPage();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myPDF.setFont(myCoreFont1, 12);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myPDF.addText('List of Development Services Projects - Status', 11, 10);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myPDF.setFont(myCoreFont1, 8);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myPDF.addText('Printed:' + dateFormatter.format(now.toLocaleDateString()), 180, 10);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var gridColumnOwner1:GridColumn = new GridColumn("Project Name", "Name", 90, Align.LEFT, Align.LEFT);&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var gridColumnOwner2:GridColumn = new GridColumn("Condition", "Color", 18, Align.LEFT, Align.LEFT);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var gridColumnAddress:GridColumn = new GridColumn("Status", "Status", 20, Align.LEFT, Align.LEFT);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var gridColumnMailCity:GridColumn = new GridColumn("Next Step", "Cur_Status", 20, Align.LEFT, Align.LEFT);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var gridColumnMailStat:GridColumn = new GridColumn("Department", "DS_Department", 35, Align.LEFT, Align.LEFT);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var gridColumnManager:GridColumn = new GridColumn("Project Manager", "Manager", 35, Align.LEFT, Align.LEFT);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var gridColumnCost:GridColumn = new GridColumn("Project Assistant", "Assistant", 35, Align.LEFT, Align.LEFT);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myPDF.setFont(myCoreFont1, 8);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myPDF.textStyle ( new RGBColor ( 0x000000 ), 1 );
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //resultsGrid is the name of the datagrid
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var grid:Grid = new Grid (resultsGrid.dataProvider.toArray(), 0, 0, new RGBColor (0xC0C0C0), 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new RGBColor (0xCCCCCC), true , new RGBColor(0x000000), 1, Joint.ROUND);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var columns:Array = new Array (gridColumnOwner1,gridColumnOwner2, gridColumnAddress, gridColumnMailCity, gridColumnMailStat, gridColumnManager, gridColumnCost);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; grid.columns = columns;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myPDF.addGrid(grid, 1, 6);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //export to pdf web service
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myPDF.save(Method.REMOTE, "name of server",Download.INLINE,"myPDF.pdf");
}&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 13:52:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/printing-tables-to-pdf-along-with-map/m-p/286998#M6836</guid>
      <dc:creator>AaronNash1</dc:creator>
      <dc:date>2021-12-11T13:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: Printing tables to pdf along with map</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/printing-tables-to-pdf-along-with-map/m-p/286999#M6837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;here is some code for just printing a table &lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;public function generatePDF2():void
{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var myCoreFont1:IFont = new CoreFont ( FontFamily.ARIAL );
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myPDF = new PDF(Orientation.PORTRAIT, Unit.MM, Size.TABLOID);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myPDF.setDisplayMode( Display.FULL_PAGE, Layout.SINGLE_PAGE );
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myPDF.addPage();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myPDF.setFont(myCoreFont1, 12);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myPDF.addText('List of Development Services Projects - Status', 11, 10);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myPDF.setFont(myCoreFont1, 8);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myPDF.addText('Printed:' + dateFormatter.format(now.toLocaleDateString()), 180, 10);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var gridColumnOwner1:GridColumn = new GridColumn("Project Name", "Name", 90, Align.LEFT, Align.LEFT);&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var gridColumnOwner2:GridColumn = new GridColumn("Condition", "Color", 18, Align.LEFT, Align.LEFT);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var gridColumnAddress:GridColumn = new GridColumn("Status", "Status", 20, Align.LEFT, Align.LEFT);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var gridColumnMailCity:GridColumn = new GridColumn("Next Step", "Cur_Status", 20, Align.LEFT, Align.LEFT);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var gridColumnMailStat:GridColumn = new GridColumn("Department", "DS_Department", 35, Align.LEFT, Align.LEFT);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var gridColumnManager:GridColumn = new GridColumn("Project Manager", "Manager", 35, Align.LEFT, Align.LEFT);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var gridColumnCost:GridColumn = new GridColumn("Project Assistant", "Assistant", 35, Align.LEFT, Align.LEFT);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myPDF.setFont(myCoreFont1, 8);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myPDF.textStyle ( new RGBColor ( 0x000000 ), 1 );
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //resultsGrid is the name of the datagrid
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var grid:Grid = new Grid (resultsGrid.dataProvider.toArray(), 0, 0, new RGBColor (0xC0C0C0), 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new RGBColor (0xCCCCCC), true , new RGBColor(0x000000), 1, Joint.ROUND);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var columns:Array = new Array (gridColumnOwner1,gridColumnOwner2, gridColumnAddress, gridColumnMailCity, gridColumnMailStat, gridColumnManager, gridColumnCost);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; grid.columns = columns;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myPDF.addGrid(grid, 1, 6);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //export to pdf web service
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myPDF.save(Method.REMOTE, "name of server",Download.INLINE,"myPDF.pdf");
}&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&amp;nbsp; I got a bit of work to do. The layers and the attributes are pre-selected by the user before the datagrids are printed out.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 13:52:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/printing-tables-to-pdf-along-with-map/m-p/286999#M6837</guid>
      <dc:creator>LefterisKoumis</dc:creator>
      <dc:date>2021-12-11T13:52:25Z</dc:date>
    </item>
  </channel>
</rss>

