<?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: Page and Printer Setup in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/page-and-printer-setup/m-p/424752#M33346</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Import win32print and set the printer properties. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Open up the help for PythonWin and you will see a module win32print which has all the functions that appear in the Windows printer settings dialogs. However it would only set printer attributes, not custom driver attributes such as map size.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import win32print
win32print.GetDefaultPrinter()
\\\\PUMA\\HPColourLaser&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 19:09:59 GMT</pubDate>
    <dc:creator>KimOllivier</dc:creator>
    <dc:date>2021-12-11T19:09:59Z</dc:date>
    <item>
      <title>Page and Printer Setup</title>
      <link>https://community.esri.com/t5/python-questions/page-and-printer-setup/m-p/424750#M33344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Greetings:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to change settings for Page and Printer Setup? Specifically, I'd like set Map Page Size width and height from a python script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Scott&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2011 16:30:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/page-and-printer-setup/m-p/424750#M33344</guid>
      <dc:creator>ScottOatley</dc:creator>
      <dc:date>2011-03-17T16:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: Page and Printer Setup</title>
      <link>https://community.esri.com/t5/python-questions/page-and-printer-setup/m-p/424751#M33345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Looks like this isn't supported in python so I'll give .net a try.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Scott&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2011 19:20:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/page-and-printer-setup/m-p/424751#M33345</guid>
      <dc:creator>ScottOatley</dc:creator>
      <dc:date>2011-03-18T19:20:38Z</dc:date>
    </item>
    <item>
      <title>Re: Page and Printer Setup</title>
      <link>https://community.esri.com/t5/python-questions/page-and-printer-setup/m-p/424752#M33346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Import win32print and set the printer properties. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Open up the help for PythonWin and you will see a module win32print which has all the functions that appear in the Windows printer settings dialogs. However it would only set printer attributes, not custom driver attributes such as map size.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import win32print
win32print.GetDefaultPrinter()
\\\\PUMA\\HPColourLaser&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 19:09:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/page-and-printer-setup/m-p/424752#M33346</guid>
      <dc:creator>KimOllivier</dc:creator>
      <dc:date>2021-12-11T19:09:59Z</dc:date>
    </item>
  </channel>
</rss>

