Input using barcode scanner

122 views
Skip to first unread message

Akash Tomar

unread,
Dec 4, 2015, 11:07:32 AM12/4/15
to Django users
I want to take input in my html page using the barcode scanner. How do i do this in django???..do i need some additional module or package to do so?..or django itself is strong enough to do that...please help me with a sample code for implementing it.

Tim Chase

unread,
Dec 4, 2015, 11:30:25 AM12/4/15
to django...@googlegroups.com
Usually barcode scanners are configurable to act as a "keyboard
wedge" (i.e., a virtual keyboard), as if the user has typed the
barcode, optionally followed by a <tab> or <enter> key. This
suffices for most use-cases. The only time I've found that it
doesn't work well is if the app needs to accept input when the app
isn't focused (because the barcode input goes into the foreground
app). In such a case, you'd have to use client-side API code (a
Windows, Mac, iOS, Android, Linux program to talk directly to the
scanner even when it's in the background).

-tkc



Reply all
Reply to author
Forward
0 new messages