Search code examples
djangobarcodepyusb

It is posible to get output of external barcode scanner to Django


In my project I have external bar-code scanner, I want get bar-code scanner output on my django project, is this possible? if any have article or blog please share


Solution

  • Barcode scanners are meant to be indistinguishable from a keyboard. While you can send codes to the scanner to get it to behave differently, no extra programming is necessary.

    If you are wanting the external scanner to perform tasks that keyboards can't perform, then you will have to examine the documentation for the scanner and find out what setup codes to send it. Most scanners are compatible within a brand, but the codes will vary between brands.

    You should think of programming for a scanner the same way you program for any character input device.