Encode Keyboard Function Keys in a Barcode

< Back
You are here:
Print

Encode Keyboard Function Keys in a Barcode

The IDAutomation SC5-USB Barcode Scanner has the capability of scanning keyboard function keys (such as F2, F4, F10, etc.) from a properly encoded barcode, providing that function key emulation option is enabled within the scanner.

Solution(s):

The built in decoder for the IDAutomation SC5USB Barcode Scanner can emulate function keys as well as other keys such as PgUp, PgDn, Backspace, Tab, Enter, Esc, Insert, Delete, Home and End. Enable the “Function Key Emulation Mode” by scanning the appropriate barcode in the scanner manual. When enabled, lower ASCII codes in a Code 128 barcode will simulate pressing a function key on the keyboard. For example, an ASCII 23 digit (0x17 in the manual) encoded in a barcode will send the same codes to the computer as if the F7 function key was pressed. Because the scanner manual only lists hexadecimal numbers, refer to the ASCII chart for conversions.

IDAutomation suggests using Set A of Code 128 to easily encode lower ASCII characters. For example, the following encoded in Code 128 Set A simulates pressing the F7 key after the data “123456” is entered:
123456w
This barcode may be printed for testing purposes from the following URL:
https://www.bcgen.com/demo/linear-dbgs.aspx?S=13&CS=1&D=123456m

FunctionsASCIIExtended Code 39 Equivalent *Code 128 Set A EquivalentHex ValueDescription
F117$Qq11DC1
F218$Rr12DC2
F319$Ss13DC3
F420$Tt14DC4
F521$Uu15NAK
F622$Vv16SYN
F723$Ww17ETB
F824$Xx18CN
F925$Yy19EM
F1026$Zz1ASUB
F1127%B|1CFS
F1228%C}1DGS

* Standard Code 39 barcodes do not allow for the bar-coding of the lower ASCII characters. If using Code-39, the Extended Code 39 character set will be needed and implemented for this purpose.