Elo TouchSystems 1525L User Manual

Page 113

Advertising
background image

MagTek Device Drivers for Windows


110

Read

Argument

Description

chk_or_card

Read magnetic stripe card or check data. When a card or check is swiped
through the device, the driver sends the respective response.

key_press

Display a message (

msg4

) on the LCD screen, if available, and wait for a

key on the keypad to be pressed. The device will wait for

entry_tout

seconds for the key press (by default 0 for no timeout). The response to
this command is:

/read K

XXXSS K

XXX is the number of keys collected. Always 001 on successful read,

000 if failed.

SS is a two-digit status code: 00 – successful read, 81 – timeout, etc.
K is the ASCII representation of the pressed key (if SS is 00).

key_string

Display a message (

msg4

) on the LCD screen, if available, and collect a

string of key presses (digits) from the device. The following properties
affect this command:

entry_tout

– number of seconds to wait for input (by default 0 for

no timeout)

no timeout)

entry_echo

– how to display the characters entered from the

keypad on the LCD screen: empty value to display as entered,

-

(minus) to suppress display,

$

to display as amount. Empty by

default.

entry_len

– maximum number of characters to be collected.

An empty value for this property is interpreted as a length of 1 by the

device

(default).

The response to this command is in the following format:

/read K

XXXSS data

XXX is the data length in characters
SS
is a two digit status code:

00 – successful read
81 – timeout
83 – input aborted, etc.

data is the string collected from the device.

Advertising