Zum Hauptinhalt gehen

Suche

Suche

Entering Keyboard Commands For Barcodes

Kommentare

1 Kommentar

  • Avatar
    Fernando Ramos Miracle
    Hello Barrington and sorry for the delay,
     
    Can keyboard function characters be encoded into barcodes? The answer is both yes and no!
     
    Barcodes cannot encode keyboard function keys. The reason is that function keys (such as F1 - F12 or a keystrokes) are unique to the hardware and are not an ASCII code. For a PC keyboard, function keys transmitted as keyboard scan codes and have no equivalent ASCII control codes that can be encoded into a barcode. However, there is a work around.
     
    Many keyboard wedge scanners can be programmed to substitute a function key each time they scan a specified character. Since a keyboard wedge reader uses the same data transmission standards as a keyboard, they can send a scan code representing a function key.
     
    For example, if the application will never need a plus sign (+) in the barcode, the keyboard wedge replaces the plus sign with an F10 key. If "12345+" was scanned, it would produce the data stream "12345" followed by the F10 key. This same approach may be used even with bar code readers attached to a serial port if a "soft wedge" program is used. This "soft wedge" is a program that takes data from a serial port and treats it as if it had come in through the keyboard. Some of these programs also allow character substitution.
    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.