17.08.2013 Views

9560 Transaction Manager User's Manual - Intermec

9560 Transaction Manager User's Manual - Intermec

9560 Transaction Manager User's Manual - Intermec

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Magnetic Card Reader Commands<br />

Interactive Reader Language<br />

The magnetic card reader accepts many data formats. Use the commands in<br />

this section to specify your data format and to create custom IRL programs.<br />

Reading Standard Data<br />

The host may request the data from the reader in two ways:<br />

9<br />

Single Byte Command Standard card data is read from the corresponding track<br />

location. For example, standard track 2 data is read at track 2 on the card.<br />

Double Byte Command A particular track format is read from a different track<br />

location. For example, track 1 format is read on track 2. The command is<br />

followed by an ASCII number (1, 2, or 3) representing the ANSI track format<br />

for processing the data.<br />

Reading Custom Data<br />

The magnetic card reader accepts custom data with 3 to 7 bits per word. Use<br />

one of two methods to read custom data:<br />

• If the data does not contain NULL characters (all bits zero), then use the<br />

2-byte command.<br />

• If the data contains NULL characters, then you must insert an “Underline”<br />

(5F) between the 2 bytes. The card reader stores all bits found in the card,<br />

starting with the first 1 bit. The card reader ignores the last 10 bits at the<br />

end of the card.<br />

The IRL program must request data from the card reader using the following<br />

structure:<br />

Transmit custom data (fwd/rev.) Track X (X = Track #, 1-3).<br />

“Underline” (if data with NULL is expected)<br />

Number of bits per character (3-7)<br />

The card reader takes the number of bits specified for each character, adds the<br />

selected parity, and then transmits all the data. The read sequence starts when<br />

the card reader locates the first “1” in its storage and ends with the last<br />

character found.<br />

9-17

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!