title: libusb, pyusb and python-escpos on a windows machine
body: <p>I am trying to work with Epson POS TM-82 printer on windows 7 (64 bit). I have installed the printer's driver. I have python 2.7.15 (64 bit) installed. To work with python I am using this package, <a href="https://github.com/python-escpos/python-escpos" rel="nofollow noreferrer">python-escpos</a>.</p>
  
  <p>After I have installed python-escpos, and try to run as <a href="https://python-escpos.readthedocs.io/en/latest/user/usage.html#define-your-instance" rel="nofollow noreferrer">documented</a>, I am getting an error:</p>
  
  <pre><code>from escpos.printer import Usb
  Usb(0x04b8, 0x0e11)
  </code></pre>
  
  <blockquote>
    <p>usb.core.NoBackendError: No backend available</p>
  </blockquote>
  
  <ol>
  <li><p>After some more digging, I found this <a href="https://github.com/libusb/libusb/wiki/Windows" rel="nofollow noreferrer">wiki</a>, according to this I need to Use the most recent version of Zadig, an Automated Driver Installer GUI application for WinUSB, libusb-win32 and libusbK.</p>
  
  <p>So, I downloaded Zadig; from the drop-down menu selected TM-82, and chose WinUSB to replace the driver and installed the driver succesfully.</p>
  
  <p>After that again I ran the same python-escpos documented command from above, and got the same error:</p>
  
  <blockquote>
    <p>usb.core.NoBackendError: No backend available</p>
  </blockquote></li>
  <li><p>After some more research I found <a href="https://stackoverflow.com/questions/33972145/pyusb-on-windows-8-1-no-backend-available-how-to-install-libusb/34720024#34720024">this answer</a> on stackoverflow. So following the answer, I downloaded the libusb zip file, and copied <code>libusb-1.0.20_2\MS64\dll\libusb-1.0.lib</code> to my <code>C:\Windows\System32</code>. And finally copied <code>libusb-1.0.20_2\MS64\static\libusb-1.0.lib</code> to <code>C:\Python27\libs\</code></p>
  
  <p>After that again I ran the same python-escpos documented command from above, and this time I got a different error:</p>
  
  <blockquote>
    <p>NotImplementedError: Operation not supported or unimplemented on this platform</p>
  </blockquote></li>
  </ol>
  
  <p>What am I missing here? Could you please help me. Thank you.</p>