title: Get all available printers in OS X using Python
body: <p>Currently I am doing some tests with printers in Python, what I am trying to do is to list all the printers available.</p>
  <p>Right now I am using <a href="https://pythonhosted.org/pycups/" rel="noreferrer">PyCups</a> library which exposes several useful APIs in the <code>Connection</code> class. Among these there's also <code>getPrinters()</code>:</p>
  <p>Here's a snippet that I use and works:</p>
  <pre><code>&gt;&gt;&gt; import cups
  &gt;&gt;&gt; conn = cups.Connection ()
  &gt;&gt;&gt; printers = conn.getPrinters ()
  &gt;&gt;&gt; for printer in printers:
  ...     print printer, printers[printer][&quot;device-uri&quot;]
  Brother_MFC_1910W_series
  Photosmart_6520_series
  </code></pre>
  <p>I was wondering if there's any method to write the above code without using any external library. I am quite sure this can't be done without using C.</p>
  <p>Any suggestion or reference to docs would be very appreciated. Thanks</p>
  <p><em>I am using Python 3</em></p>