A SERVICE OF

logo

Page 43
Recognized Magnetic Card command strings
§ Six Magnetic Card command strings are recognized by the printer, these commands are
summarized in the table below:
Magnetic Card Command String Description
ESC - M - nn - 1 - CR Read Track1 only
ESC - M - nn - 2 - CR Read Track2 only
ESC - M - nn - 3 - CR Read Track3 only
ESC - M - nn - 4 - CR Read Track1 and Track2 simultaneously
ESC - M - nn - 5 - CR Read Track2 and Track3 simultaneously
ESC - C Cancel Read
Turns off the <READY> LED
(nn = ASCII "01" through "99" seconds)
§ The command syntax is as follows:
ESC M n n Track # CR
(1) ( 2 ) (3) (4)
§ Turn On the Card Reader
Ÿ The first two characters "ESC" "M" turn on the Card Reader.
§ Set the Card Read Time-out
Ÿ The next two digits "01" through "99" sets the time-out in seconds before the printer
turns off the Card Reader. A good read automatically turns off the reader.
§ Select Track number to read
Ÿ The Fifth character specifies the Track number's) to read.
Ÿ Sending "1", "2" or "3" enables read of single track 1, 2 or 3.
Ÿ Sending "4" enables simultaneous read of tracks 1 and 2.
Ÿ Sending "5" enables simultaneous read of tracks 2 and 3.
Ÿ There is currently no command to read tracks 1, 2 and 3 simultaneously.
§ Terminate command string
Ÿ The S2000 waits for Carriage return character before start of the magnetic card read
process.
Track Data Output Format
§ The <Track Data> retrieved from magnetic card is transmitted to the Host in ASCII
format. The <Track Data> format is as follows:
Ÿ /1/ <TRACK 1 DATA> <CR> <LF>
Ÿ /2/ <TRACK 2 DATA> <CR> <LF>
Ÿ /3/ <TRACK 3 DATA> <CR> <LF>