beautypg.com

Swc - switch c command, Table 4-5. swc command – MagTek MICR Plus RS-232 User Manual

Page 24

background image

MICR PLUS, RS-232

16

SWC - SWITCH C COMMAND

The SWC command controls miscellaneous functions, shown in Table 4-5. The data for this
command consists of 8 ASCII bits (“0” = hex 30 and “1” = hex 31).

To execute, send the SWC command as follows:

SWC 01010101

(with data)

or

SWC

(without data)

When sending data, all 8 bits must be provided. The MICR Plus will execute the command but
it will not reply. The new settings become effective immediately. To make this command
permanent, use the SA command described below.

If no data is sent, the MICR Plus responds with the current settings for SWC.

Table 4-5. SWC Command

BITS FUNCTION

7

6

5

4

3

2

1

0

0

CMC-7 Character Set: No

1

CMC-7

Character

Set:

Yes

0

0

Invalid

Commands:

?

0

1

Invalid Commands : No Reply (Header
Required)*

1

0

Invalid Commands: No Reply (no header
required)

1

1

Ignore

all

Commands

0

Active RTS: No

1

Active RTS: Yes

0

Data

Header:

No

1

Data

Header:

Yes

0

Card

Data

Message:

Multiple

1

Card

Data

Message:

Single

0

0

These bits are always set to 0 but must
be included.

*Header Required means all commands must be preceded by a GS character (Hex 1D).