<?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: Multi-page pdfs running incredibly slow (from arcpy.mapping) in Mapping Questions</title>
    <link>https://community.esri.com/t5/mapping-questions/multi-page-pdfs-running-incredibly-slow-from-arcpy/m-p/380355#M4081</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I just tested it manually and with a script, and it appears that any multi-page pdf suffers slowdown in relation to the number of pages. I tested exporting using arcpy.mapping.ExportToPDF and appending each page to a single pdf document, as well as just choosing "Export -&amp;gt; All Pages" to create a pdf of all pages in Data Driven Pages. Both methods result in a slower PDF than if I had combined the pages manually using Acrobat, and the higher the number of pages, the slower the PDF.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I believe there is an inefficiency in the way that ArcMap creates multi-page pdfs, unless there is something I'm missing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Mar 2011 22:26:15 GMT</pubDate>
    <dc:creator>TannerSemerad</dc:creator>
    <dc:date>2011-03-08T22:26:15Z</dc:date>
    <item>
      <title>Multi-page pdfs running incredibly slow (from arcpy.mapping)</title>
      <link>https://community.esri.com/t5/mapping-questions/multi-page-pdfs-running-incredibly-slow-from-arcpy/m-p/380353#M4079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm using a script that exports over 700 pages and combines them into a multi-page pdf. The pdf runs incredibly slow every time I export it, regardless of the file size, or even if there are fewer pages. I have tried adjusting the resolution and image quality, but it still runs slow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By "running slow" I mean that it takes just under a minute for the file to fully open, and it freezes for 20 or 30 seconds each time I scroll from page to page. The pdf runs this horribly on our other computers where I work as well, and they are all powerful machines.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried saving it as an "Optimized" pdf in Acrobat, and although it reduced the file size by a third, it didn't improve the speed. I know that the number of pages shouldn't be the issue because we have created the same multi-page pdf in the past manually without a script, and it runs fine. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone found a solution to this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2011 20:29:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/multi-page-pdfs-running-incredibly-slow-from-arcpy/m-p/380353#M4079</guid>
      <dc:creator>TannerSemerad</dc:creator>
      <dc:date>2011-03-07T20:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-page pdfs running incredibly slow (from arcpy.mapping)</title>
      <link>https://community.esri.com/t5/mapping-questions/multi-page-pdfs-running-incredibly-slow-from-arcpy/m-p/380354#M4080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Please clarify - does this only happens when you export via a script?&amp;nbsp; If you perform the same export via the user interface (file--&amp;gt;export) do you experience the same performance issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If so, are you using:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.mapping.ExportToPDF?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;or&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mapDoc.dataDrivenPages.exportToPDF?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2011 15:04:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/multi-page-pdfs-running-incredibly-slow-from-arcpy/m-p/380354#M4080</guid>
      <dc:creator>JeffBarrette</dc:creator>
      <dc:date>2011-03-08T15:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-page pdfs running incredibly slow (from arcpy.mapping)</title>
      <link>https://community.esri.com/t5/mapping-questions/multi-page-pdfs-running-incredibly-slow-from-arcpy/m-p/380355#M4081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I just tested it manually and with a script, and it appears that any multi-page pdf suffers slowdown in relation to the number of pages. I tested exporting using arcpy.mapping.ExportToPDF and appending each page to a single pdf document, as well as just choosing "Export -&amp;gt; All Pages" to create a pdf of all pages in Data Driven Pages. Both methods result in a slower PDF than if I had combined the pages manually using Acrobat, and the higher the number of pages, the slower the PDF.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I believe there is an inefficiency in the way that ArcMap creates multi-page pdfs, unless there is something I'm missing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Mar 2011 22:26:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/multi-page-pdfs-running-incredibly-slow-from-arcpy/m-p/380355#M4081</guid>
      <dc:creator>TannerSemerad</dc:creator>
      <dc:date>2011-03-08T22:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-page pdfs running incredibly slow (from arcpy.mapping)</title>
      <link>https://community.esri.com/t5/mapping-questions/multi-page-pdfs-running-incredibly-slow-from-arcpy/m-p/380356#M4082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What is the difference between &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arcpy.mapping.ExportToPDF?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mapDoc.dataDrivenPages.exportToPDF?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am also trying to export to PDF and find the script seems to 'never finish' with 84 pages.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, how do I only export a page range instead of all pages.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, how do I export each page to a separate pdf.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 17:44:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/multi-page-pdfs-running-incredibly-slow-from-arcpy/m-p/380356#M4082</guid>
      <dc:creator>OliveDodd</dc:creator>
      <dc:date>2011-03-22T17:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-page pdfs running incredibly slow (from arcpy.mapping)</title>
      <link>https://community.esri.com/t5/mapping-questions/multi-page-pdfs-running-incredibly-slow-from-arcpy/m-p/380357#M4083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;arcpy.mapping.ExportToPDF exports a single pdf based on the current MXD.&amp;nbsp; It does not take into consideration that the MXD is DDP enabled.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;DDP.exportToPDF allows you to print multiple PDfs from a single DDP enabled map doc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, how do I only export a page range instead of all pages: Use DDP.exportToPDF.&amp;nbsp; Set page_range_type="RANGE", set page_range_string to equal the pages you want printed (e.g., "1-5, 8, 10").&amp;nbsp; Read the help for details.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, how do I export each page to a separate pdf: Use the {multiple_files parameter}.&amp;nbsp; Read the help for details.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/DataDrivenPages/00s300000030000000/"&gt;http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/DataDrivenPages/00s300000030000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Mar 2011 12:44:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/multi-page-pdfs-running-incredibly-slow-from-arcpy/m-p/380357#M4083</guid>
      <dc:creator>JeffBarrette</dc:creator>
      <dc:date>2011-03-23T12:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-page pdfs running incredibly slow (from arcpy.mapping)</title>
      <link>https://community.esri.com/t5/mapping-questions/multi-page-pdfs-running-incredibly-slow-from-arcpy/m-p/380358#M4084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I tried both export methods, slow, slow, slow....until bug in my code was found -&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;you might check for unneccasry loops in your python script: I was getting molasses slow exports, then found that there was a loop that was looping through all my points when it should have just selected a single one in the cursor. (I had left off the actual query string and all records were selected for an update procedure on the map elements).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it still worked, but was so slow I thought about dumping the whole thing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I realize that's not much help, but something to look for.&amp;nbsp; Now my exports are about 72 x faster (number of pages in my map book).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2011 00:06:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/multi-page-pdfs-running-incredibly-slow-from-arcpy/m-p/380358#M4084</guid>
      <dc:creator>GroundHogg</dc:creator>
      <dc:date>2011-04-15T00:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-page pdfs running incredibly slow (from arcpy.mapping)</title>
      <link>https://community.esri.com/t5/mapping-questions/multi-page-pdfs-running-incredibly-slow-from-arcpy/m-p/380359#M4085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We reproduced this issue an will hopefully be able to address it in the next service pack.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It appears to be related to the output file size.&amp;nbsp; Anything over 1GB will not work or open correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to check its status, it is: NIM067258&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2011 18:51:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/multi-page-pdfs-running-incredibly-slow-from-arcpy/m-p/380359#M4085</guid>
      <dc:creator>JeffBarrette</dc:creator>
      <dc:date>2011-04-20T18:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-page pdfs running incredibly slow (from arcpy.mapping)</title>
      <link>https://community.esri.com/t5/mapping-questions/multi-page-pdfs-running-incredibly-slow-from-arcpy/m-p/380360#M4086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This issue will be fixed for service pack 3.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2011 20:01:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/multi-page-pdfs-running-incredibly-slow-from-arcpy/m-p/380360#M4086</guid>
      <dc:creator>JeffBarrette</dc:creator>
      <dc:date>2011-08-22T20:01:24Z</dc:date>
    </item>
  </channel>
</rss>

