beautypg.com

Command format, Swa - switch a command, Swa parameters – MagTek MINI MICR USB User Manual

Page 16: Table 4-1. swa command

background image

MINI MICR USB with 3-Track MSR


8

COMMAND FORMAT

When the commands are entered manually, they must use the following format:

[COMMAND][DATA]

where:

[COMMAND]

is 2 or 3 alpha characters.

[Data]

is optional as described below for each command.

is always required.

All characters are ASCII

No spaces, brackets, or angle brackets required.

SWA - SWITCH A COMMAND

The SWA command controls the communication parameters, shown in Table 4-1. The data for
this command consists of 8 ASCII bits (“0” = hex 30 and “1” = hex 31).

Table 4-1. SWA Command

BITS PARAMETERS

7

6

5

4

3

2

1

0

x x x x x x x x

Not

Used


To execute, send the SWA command as follows:

SWA 01010101

(with data)

or

SWA

(without data)


When sending data, all 8 bits must be provided. The MICR Reader will execute the command but
it will not reply. To make this command permanent, use the SA (Save) command described at the
end of this section.

If no data is sent, the MICR Reader responds with the current settings for SWA.

SWA PARAMETERS

SWA Has no affect on the Reader and is included only to maintain compatibility with our other
MICR Readers.