<?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 How to get at Printer Settings with arcpy in Mapping Questions</title>
    <link>https://community.esri.com/t5/mapping-questions/how-to-get-at-printer-settings-with-arcpy/m-p/700745#M7546</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is my first try with map automation so I'm starting small.&amp;nbsp; I just want to print out all the mxds in a directory.&amp;nbsp; I started testing with just one MXD and I'm already having problems.&amp;nbsp; Can you configure printer / page settings with arcpy?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My test MXD is a color 9.3 MXD, with 11x17 format.&amp;nbsp; It keeps coming out on 4 8.5x11 sheets of paper in B/W.&amp;nbsp; I've saved the MXD after setting the color and page size but when I go back in those settings are lost.&amp;nbsp; Any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;import arcpy.mapping as map&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mxd = map.MapDocument(r"H:\Data Release\sect_s28t23r41e\maps\phshalebuffsect.mxd")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;printerName = "\\\\DFWPSOLY01\\DFWHN5W5185b" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;map.PrintMap(mxd, printerName, "PAGE_LAYOUT")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;del mxd&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Jun 2011 22:08:43 GMT</pubDate>
    <dc:creator>RandyKreuziger</dc:creator>
    <dc:date>2011-06-27T22:08:43Z</dc:date>
    <item>
      <title>How to get at Printer Settings with arcpy</title>
      <link>https://community.esri.com/t5/mapping-questions/how-to-get-at-printer-settings-with-arcpy/m-p/700745#M7546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is my first try with map automation so I'm starting small.&amp;nbsp; I just want to print out all the mxds in a directory.&amp;nbsp; I started testing with just one MXD and I'm already having problems.&amp;nbsp; Can you configure printer / page settings with arcpy?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My test MXD is a color 9.3 MXD, with 11x17 format.&amp;nbsp; It keeps coming out on 4 8.5x11 sheets of paper in B/W.&amp;nbsp; I've saved the MXD after setting the color and page size but when I go back in those settings are lost.&amp;nbsp; Any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;import arcpy.mapping as map&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mxd = map.MapDocument(r"H:\Data Release\sect_s28t23r41e\maps\phshalebuffsect.mxd")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;printerName = "\\\\DFWPSOLY01\\DFWHN5W5185b" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;map.PrintMap(mxd, printerName, "PAGE_LAYOUT")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;del mxd&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2011 22:08:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/how-to-get-at-printer-settings-with-arcpy/m-p/700745#M7546</guid>
      <dc:creator>RandyKreuziger</dc:creator>
      <dc:date>2011-06-27T22:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to get at Printer Settings with arcpy</title>
      <link>https://community.esri.com/t5/mapping-questions/how-to-get-at-printer-settings-with-arcpy/m-p/700746#M7547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You will probably have to define a custom printer and set the defaults to the settings required and then print to that. You will need administrator access so it may not be a solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Otherwise you might be able to do it in Python using the win32print module in PythonWin. Have a look at the help in PythonWin for details. I have not got this working myself.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2011 08:01:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/how-to-get-at-printer-settings-with-arcpy/m-p/700746#M7547</guid>
      <dc:creator>KimOllivier</dc:creator>
      <dc:date>2011-06-28T08:01:23Z</dc:date>
    </item>
  </channel>
</rss>

