Zum Hauptinhalt gehen

Suche

Suche

How Do I Insert A Shift Tab Into A Barcode

Kommentare

2 Kommentare

  • Avatar
    Ian Cummings
    Moderator

    I don't think that key combinations can be encoded in a barcode directly.  In any case, the solution you're after is in the barcode reader itself that can be programmed to replace a specified character of data with a key combo that is sent to the PC as a keyboard scan code.  Here is an example that does the same thing for a function key to give you the general idea.

     

    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 (F1 - F12) 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 can 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
  • Avatar
    Legacy Poster

    Yes, you want to identify how to program your scanner to do this, rather than the barcode. Symbol scanners have this all in the manual under the "Advanced Data Formatting" chapter

    0

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