MagTek Device Drivers for Windows
22
read
Function
Read data from the device.
Syntax
/read
[[x] y]
The optional argument
x
specifies the data source; if
x
is missing, a card will be
read. Refer to the Read Argument table below for a description data sources.
The optional argument
y
is used to specify a message to be displayed on the
LCD screen, if supported, before carrying out the command. If
y
is omitted
and the device supports a display, the text in the
msg1
property is shown. In
order to use
y
, the
x
argument must be present. See the
display
command
for the description of the message format for
y
.
Errors
/read
-00045
<LF>
If a command is already pending or the
enc_key
is not defined for
read pin
.
/read
-00082
<LF>
If the command was canceled by the application (82) or by the user (83) (e.g.,
with CLEAR key).
Remarks
The response to this command has the following format:
/read
status data
The
status
field is a 6-character string aligned to the right in the arg1 field. It is
formatted as follows:
TX
1
X
2
X
3
SS
T
defines the type of data that was read:
C
= a check was read
M
= a magnetic card was read
P
= a PIN was read
K
= a key press or string was read
-
= indeterminate: no data was received from the device. Returned on errors
not specific to the data type, such as command canceled (SS=
82
).
X
i
define a media-specific status. For checks, this is the decimal representation of
the check read status, as defined in the MICR specification. For magnetic cards,
XXX indicates the read status for each of the three magnetic tracks (see
card
in
the Read Arguments table below for a description of the status). For PIN data
this status is always
000
; for keypress and string data,
XXX
is the data length in
characters.
SS is a two-digit status code.
00
indicates a good read (but some tracks may be
bad); any other status code indicates an error. These error codes indicate an error
in the communication between the driver and the device or driver’s internal
errors. Read errors are reported in the X
i
fields and do not cause the SS field to
be set to a non-zero value. See Appendix C. Status Codes.
The
data
format is described in the
write
command below.
Example
To request an amount to be entered by the customer on the IntelliPIN:
Command
/set entry_len 6
<LF>
/read key_string Enter the amount
<LF>
Response
/read
K00300 123
<LF>
Example
To read a card (from any device):
Command
/read card
<LF>
Response
/read
M10900 ;12345?
<LF>
track 1 error, track 2 good, track 3 blank
Summary of Contents for Entuitive 1229L
Page 1: ......
Page 11: ...1 6 E l o E n t u i t i v e T o u c h m o n i t o r U s e r G u i d e...
Page 14: ...2 9 Side View Base Bottom View...
Page 43: ...4 38 E l o E n t u i t i v e T o u c h m o n i t o r U s e r G u i d e...
Page 54: ...C 49...
Page 55: ...C 50 E l o E n t u i t i v e T o u c h m o n i t o r U s e r G u i d e...
Page 59: ...54 E l o E n t u i t i v e T o u c h m o n i t o r U s e r G u i d e...
Page 70: ...vii...
Page 71: ...Figure 1 1 USB Swipe Reader viii...
Page 75: ...USB HID Keyboard Emulation Swipe Reader 4...
Page 79: ...USB HID Keyboard Emulation Swipe Reader 8...
Page 81: ...USB HID Keyboard Emulation Swipe Reader 10...
Page 103: ...vi Figure 1 1 Port Powered Swipe Reader...
Page 107: ...Port Powered Swipe Reader 4 Figure 1 3 Dimensions...
Page 111: ...Port Powered Swipe Reader 8...
Page 115: ...Port Powered Swipe Reader 12...
Page 151: ...MagTek Device Drivers for Windows 28...
Page 161: ...MagTek Device Drivers for Windows 38...
Page 175: ...MagTek Device Drivers for Windows 52...
Page 197: ...MagTek Device Drivers for Windows 74...
Page 199: ...MagTek Device Drivers for Windows 76...
Page 201: ...MagTek Device Drivers for Windows 78...
Page 220: ...i Customer Displays 2 by 20 character display USER MANUAL Models LD9000 Series...
Page 249: ......