Post_tk_char property (kb), Ascii_to_keypress_conversion_type property (kb) – MagTek USB MagnePrint Swipe Reader with Encryption User Manual
Page 43
Section 4. USB Communications
35
POST_TK_CHAR PROPERTY (KB)
Property ID:
14 (0x0E)
Property Type:
Byte
Length: 1
byte
Get Property:
Yes
Set Property:
Yes
Default Value:
0
Description:
This character is sent after the data for each track. If the value is 0 no
character is sent. If the value is in the range 1 – 127 then the equivalent
ASCII character be sent.
This property is stored in non-volatile memory, so it will persist when the unit
is power cycled. When this property is changed, the unit must be reset (see
Command Number 2) or power cycled to have these changes take effect.
ASCII_TO_KEYPRESS_CONVERSION_TYPE PROPERTY (KB)
Property ID:
15 (0x0F)
Property Type:
Byte
Length: 1
byte
Get Property:
Yes
Set Property:
Yes
Default Value:
0 (keymap)
Description:
The value is a byte that represents the devices ASCII to keypress conversion
type. The value can be set to 0 for keymap (the active keymap is set with the
ACTIVE_KEYMAP property) or to 1 for ALT ASCII code (international
keyboard emulation). When the value is set to 0 (keymap), data will be
transmitted to the host according to the active keymap which defaults to the
United States keyboard keymap. For example, to transmit the ASCII
character ‘?’ (063 decimal), the character is looked up in a keymap. For a
United States keyboard keymap, the ‘/’ (forward slash) key combined with the
left shift key modifier are stored in the keymap to represent the key press
combination that is used to represent the ASCII character ‘?’ (063 decimal).
When the value is set to 1 (ALT ASCII code), instead of using the key map, a
international keyboard key press combination consisting of the decimal value
of the ASCII character combined with the ALT key modifier is used. For
example, to transmit the ASCII character ‘?’ (063 decimal), keypad ‘0’ is sent
combined with left ALT key modifier, next keypad ‘6’ is sent combined with
the left ALT key modifier, last keypad ‘3’ is sent combined with the left ALT
key modifier. In general, if this device only needs to emulate United States
keyboards then this property should be set to 0 (keymap). If this device needs
to be able to emulate all country’s keyboards then this property should be set
to 1 (ALT ASCII code). The tradeoff is that the ALT ASCII code mode is
slightly slower than keymap mode because more key presses need to be
transmitted. Some applications are not compatible with ALT ASCII code
mode.