Card data – MagTek P-SERIES USB User Manual

Page 36

Advertising
background image

P-Series USB Insertion Reader

28

CARD DATA

The card data is converted to ASCII and transmitted to the host as if it had been typed on a
keyboard. Any data with ASCII values 0 – 31 or 127 will be transmitted as their equivalent
control code combination. For example a carriage return value 13 (0x0D) will be sent as (^M)
where ^ represents the Ctrl key on the keyboard.

Caution

If another keyboard is connected to the same host as this device and a key is pressed on
the other keyboard while this device is transmitting, then the data transmitted by this
device may get corrupted.


Because of potential “data interleave” issues associated with the USB Keyboard interface,
MagTek recommends that the USB Keyboard Emulation mode should only be used by
customers who have previously used MagTek’s Keyboard Wedge MSR, or who are interfacing
with an existing PC software application which gathers card data from the keyboard port. If
previous applications were based upon RS-232 serial interface MSR’s, or if this is a brand new
development effort, it is recommended that you use the HID mode).

The device’s programmable configuration options affect the format of the card data.

The card data format for the default configuration is as follows:

[Tk1 SS] [Tk1 Data] [ES] [Tk2 SS] [Tk2 Data] [ES] [Tk3 SS] [Tk3 Data] [ES] [CR]


where:
Tk1 SS

=

% (7-bit start sentinel)

Tk2 SS

=

; (ISO/ABA 5-bit start sentinel)

@ (7-bit start sentinel)

Tk3 SS

=

+ (ISO/ABA start sentinel)

# (AAMVA start sentinel)

& (7-bit start sentinel)

ES

=

? (end sentinel)

CR

=

(carriage return) (0x0D)


All data will be sent in upper case regardless of the state of the caps lock key on the keyboard. If
no data is detected on a track then nothing will be transmitted for that track. If an error is
detected on a track the ASCII character E will be sent in place of the track data to indicate an
error.

The card data format for all programmable configuration options is as follows:

[P18][P11] [P13] [Tk1 SS] [Tk1 Data] [ES] [LRC] [P14] [P5] [P13] [Tk2 SS] [Tk2 Data] [ES]
[LRC] [P14] [P5] [P13] [Tk3 SS] [Tk3 Data] [ES] [LRC] [P14] [Sensor][P5] [P12][P19]

Advertising