× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On 2/3/17, 4:44 PM, Justin Taylor wrote:
A TAB can't trigger a submit back to the server, and I can't figure out how to code a Field Exit.

You're right; a Field Exit will trip an auto-enter, a tab won't. I forgot that little detail; it's been a few years since I wrote our emulator. But if a barcode runs you off the end of a field and either falls into the next one, or trips the auto-enter, a Field Exit will (barring certain field specifications that will keep you from falling through to the next field, if I remember right) put you in the wrong field, just the same as a tab.

At any rate, unless I somehow missed it, you haven't said *what* this barcode scanner is connected to. Obviously either a terminal, or something that is emulating one, and I'm guessing that the scanner is somehow emulating a keyboard. The $64 question is in the details of what the scanner is feeding to . . . whatever it's feeding.

If it's feeding ASCII, rather than scan codes, then you've got it easy: ASCII only has 31 control characters (32 if you include x'7F', Delete, a throwback to the days of punched tape), and you already know that it's not x'09' (horizontal tab). X'0D' (carriage return) could be Field Exit, or it could be Enter.

If it's feeding scan codes, then you need to know WHAT scan codes. If it's emulating a PC keyboard, then you might try a GOOGLE search on "PC Keyboard Scan Codes"; you'll find dozens of references. If it's feeding scan codes to, say, a 3487, then you'd need to find somebody with the keyboard specs for InfoWindow 5250 terminals (all keyboards for InfoWindow and InfoWindow II terminals are interchangeable).

--
JHHL


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.