Command format, Dk – disable keyboard, Ek – enable keyboard – MagTek MINI MICR WEDGE User Manual

Page 17: Ek <enter, Swa - switch a command, Keyboard wedge port io addresses

Advertising
background image

Section 4. Commands

9


COMMAND FORMAT

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

[COMMAND][DATA] <ENTER>

[COMMAND]

is 2 or 3 alpha characters.

[Data]

is optional as described below for each command.

<ENTER>

is always required.

All characters are ASCII

No spaces, brackets, or angle brackets required.

DK – DISABLE KEYBOARD

When a PC program is used, the keyboard must be disabled to allow programming of the MICR
Reader. Commands used for programming the MICR Reader are described below. The command
to disable the keyboard is:

DK <ENTER>


The MICR Reader will execute the command and will reply with lower case 'k'.


EK – ENABLE KEYBOARD

After all commands have been sent to the MICR Reader, communication between the PC and the
keyboard must be established. The command to enable the keyboard is:

EK

<ENTER>

The MICR Reader will execute the command and will reply with lower case 'k'.


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).

To execute, send the SWA command as follows:

SWA 01010101<ENTER>

(with data)

or

SWA <ENTER>

(without data)

Advertising