Function/control key support in hid keyboard mode – Worth Data 5000 User Manual

Page 111

Advertising
background image

110

Function/Control Key Support in HID Keyboard Mode

The TriCoder, when in HID Keyboard Mode, can transmit Function, Control, Alt and Shift Keys for use with software programs that
use these keys for menus or commands. For example, when the TriCoder reads a bar code containing the Code 39 characters for SOH
(Control-A), it will transmit the corresponding function key, F1 to your computer. These "keys" are created by combining two Code
39 characters. In order to read them and have them interpreted as the correct keystroke, the bar code reader must have " Full ASCII
Code 39
" reading enabled. The following chart shows the encoding scheme for both IBM and Macintosh computers.

Full ASCII Code

Code 39

IBM PC key transmitted Mac key transmitted

SOH

$A

F1

F1

STX

$B

F2

F2

ETX

$C

F3

F3

EOT

$D

F4

F4

ENQ

$E

F5

F5

ACK

$F

F6

F6

BEL

$G

F7

F7

SO

$N

F8

F8

LF

$J

Num Pad 5*

Enter

CR

$M

Enter

Return

SI

$O

F9

F9

DLE

$P

F10

Command On

DC1

$Q

Del

Del

DC2

$R

Insert

Command Off

DC3

$S

Left Arrow*

Left Arrow

DC4

$T

Right Arrow*

Right Arrow

NAK

$U

Down Arrow*

Down Arrow

SYN

$V

Up Arrow*

Up Arrow

VT

$K

Page Up*

Page Up

FF

$L

Page Down*

Page Down

ETB

$W

Home*

Home

CAN

$X

End*

End

EM

$Y

Shift On

Shift On

SUB

$Z

Shift Off

Shift Off

FS

%B

Control On

Control On

GS

%C

Control Off

Control Off

RS

%D

Alt On

Option On

US

%E

Alt Off

Option Off

*Refers to the keys on the Number Pad on the far right side of a PC keyboard

Table A-3. C39 Keyboard Support for IBM and Mac

This chart corresponds to the small center section of keys between the main letter keys and the numeric keypad on the right of the
keyboard. If you are using MAC AND USB, in order to emulate the arrow keys, you MUST USE THE COMMANDS AS SHOWN
ABOVE
. You can scan them from the FULL ASCII MENU, for example, to emulate the “Left Arrow” key on the Mac (USB) scan
the “NUL” (which represents “$U”) bar code and then the “4” bar code from the menu.

Code 39

IBM Key

Sequence

Mac Key

Sequence

Code 39

IBM Key Sequence

Mac Key

Sequence

%U0

Insert

Ins

%U6

Right Arrow

right arrow

%U.

Delete

del

%U7

Home

home

%U1

End

end

%U8

Up Arrow

Up arrow

%U2

Down Arrow

down arrow

%U9

Page Up

page up

%U3

Page Down

page down

%UC

Windows ON

control ON

%U4

Left Arrow

left arrow

%UD

Windows OFF

control OFF

%U5

Line Feed

Line Feed

%UE

ENTER (num)

ENTER (num)

Advertising