Paxar 9430R User Manual

Page 38

Advertising
background image

5-2 Using the Magnetic Card Reader

Command Summary

Command Description

ESC-'M'-#timer#-

<tracks>-CR

Prepares the reader for a magnetic card
swipe. The reader’s LED turns on when the
printer receives this command, indicating it is
waiting for the user to swipe the card. On a
successful swipe, the LED goes out.

#timer# Sets the reader’s timer. If the user does not

swipe the card through the reader before the
timer runs out, an error occurs. Values are
00-99 (seconds). 00 disables the timer.

<tracks> The combination of tracks to read.

1

Track 1 only.

2

Track 2 only.

3

Track 3 only.

4

Tracks 1 and 2 together.

5

Tracks 2 and 3 together.

6

Tracks 1, 2, and 3 together.

The reader responds to the read command
with:
#trck#-(data)-'?'-CR-LF-NAK

#trck# Track indicator. Values are %/1/

(track 1), ;/2/ (track 2), and +/3/
(track3).

(data) The data read from the card. This

field can be empty. If an error
occurs, this field contains an E
character and the error message text
(see ”Error Messages”).

Advertising