<?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 map using PrintAndExport not working in SOE in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/printing-map-using-printandexport-not-working-in/m-p/717727#M27410</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;did you consider the Printing Service, new at 10.1, to get your map in PDF format?&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/Printing_in_web_applications/0154000004w5000000/"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#/Printing_in_web_applications/0154000004w5000000/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Sep 2012 17:47:37 GMT</pubDate>
    <dc:creator>TanuHoque</dc:creator>
    <dc:date>2012-09-12T17:47:37Z</dc:date>
    <item>
      <title>Printing map using PrintAndExport not working in SOE</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/printing-map-using-printandexport-not-working-in/m-p/717725#M27408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It works fine when I use it in ArcEngine standalone application. But it didn't work in SOE using the same code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Creating a IPaper (PaperClass()) takes more than 2 minutes!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Enumerating IPaper.Forms takes minutes!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. IPrintAndExport.Print() throws an exception:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;System.Runtime.InteropServices.COMException (0x8004030E): Exception from HRESULT: 0x8004030E&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at ESRI.ArcGIS.Carto.PrintAndExportClass.Print(IActiveView pActiveView, IPrinter pPrinter, IPage pPage, Int32 PageID, Int32 resRatio, ITrackCancel pTrackCancel)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I using IPrintAndExport for exporting PDF file in SOE works great.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions or comments are welcome and greatly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2012 16:04:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/printing-map-using-printandexport-not-working-in/m-p/717725#M27408</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-08-31T16:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: Printing map using PrintAndExport not working in SOE</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/printing-map-using-printandexport-not-working-in/m-p/717726#M27409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was thinking it might be some problem of accessing the printer. Then I tried to publish a GPService using arcpy.mapping.PrintMap. This time I got print driver error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AttributeError: Driver based print functionality not supported on ArcGIS Server. Failed to execute (PrintMap). Failed to execute (PrintMap).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I searched and found the reason here: &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//00s300000037000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//00s300000037000000&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then, how i can print a map in SOE? Using ActiveView.Output instead of PrintAndExport?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Aug 2012 20:41:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/printing-map-using-printandexport-not-working-in/m-p/717726#M27409</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-08-31T20:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: Printing map using PrintAndExport not working in SOE</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/printing-map-using-printandexport-not-working-in/m-p/717727#M27410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;did you consider the Printing Service, new at 10.1, to get your map in PDF format?&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/Printing_in_web_applications/0154000004w5000000/"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#/Printing_in_web_applications/0154000004w5000000/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2012 17:47:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/printing-map-using-printandexport-not-working-in/m-p/717727#M27410</guid>
      <dc:creator>TanuHoque</dc:creator>
      <dc:date>2012-09-12T17:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: Printing map using PrintAndExport not working in SOE</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/printing-map-using-printandexport-not-working-in/m-p/717728#M27411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;did you consider the Printing Service, new at 10.1, to get your map in PDF format?&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#/Printing_in_web_applications/0154000004w5000000/"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#/Printing_in_web_applications/0154000004w5000000/&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Actually, I don't think I can use the printing service because I will create a new mxd in my SOE and print it. Printing service needs a web map to print.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another thing is I found the export functionality only exports the map frame instead of the whole page of the layout. Thus the result is in correct, it even doesn't export the map frame boundary. Is there any solution for this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2012 14:26:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/printing-map-using-printandexport-not-working-in/m-p/717728#M27411</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2012-09-13T14:26:45Z</dc:date>
    </item>
  </channel>
</rss>

