Section 3. Commands
113
write
Function
Data encode command.
Syntax
/write
data
Errors
/write
94
<LF>
Encode is not supported on this device.
/write
34
<LF>
The
data
field was in the incorrect format.
/write
82
<LF>
The
write
command was canceled.
/write
45
<LF>
Device in wrong mode (e.g., if
/read
already issued)
/write
60
<LF>
Error during write operation (e.g., on MT-95)
Remarks
The
data
field is in the following format:
[
%
an-data
?
][
;
n-data
?
|
@
a-data
?
][(
+
n-data
?
|
#
an-data
?
|
!
an-data
?
|
&
an-data
)]
an-data
is alphanumeric data (ASCII characters ‘ ‘ to ‘_’ (0x20 to 0x7f))
n-data
is numeric data (ASCII characters ‘0’ to ‘?’ (0x30 to 0x3f))
The data should not contain the end sentinel character (
?
).
If the application sends data for an alphanumeric track that contains lowercase
characters (ASCII values beyond 0x60), they will be capitalized if
capitalize
=
1
. To disable this and send the data as-is to the device, set the
capitalize
property
to
0
. The three sub-sections of the data string represent the three tracks on the
magnetic card. The data for each track begins with a start sentinel character, which
defines both the track number and the data format for the track:
%
identifies track 1 (7-bit alphanumeric)
;
identifies track 2 (5-bit numeric)
@
identifies track 2 (7-bit alphanumeric)
+
identifies track 3 (5-bit numeric)
!
identifies track 3 (CA Driver License)
#
identifies track 3 (alphanumeric, AAMVA)
&
identifies track 3 (7-bit alphanumeric)
Note that any or all of the data may be missing, but the order of the data for the
tracks must always be in order (1, 2, 3). A missing track is interpreted as “don’t
write” for the data encode command – that track will not be overwritten by the
encode operation.
The response sent for this command is:
/write
status
.
status
is
00
if the encode succeeded and non-zero if it failed.
See the definitions of the status values in Appendix C. Status Codes.
Example
Encode tracks 1 and 2:
Command
/write %B12345^TEST^0000?;12345?
<LF>
Response
/write
00
<LF>
Содержание Entuitive 1525L Series
Страница 8: ...2 5 Side View Base Bottom View User Controls ...
Страница 27: ...2 24 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 ...
Страница 31: ...3 28 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 ...
Страница 44: ...C 41 See Detail A Detail A ...
Страница 45: ...C 42 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 ...
Страница 48: ...45 N10051 ...
Страница 49: ...46 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 ...
Страница 59: ...56 Figure 1 1 USB Swipe Reader ...
Страница 63: ...USB Swipe Reader 60 ...
Страница 67: ...USB Swipe Reader 64 ...
Страница 69: ...USB Swipe Reader 66 ...
Страница 89: ...86 Figure 1 1 MagTek Devices and Device Drivers for Windows MTD MagTek Device Drivers for Windows ...
Страница 117: ...MagTek Device Drivers for Windows 114 ...
Страница 127: ...MagTek Device Drivers for Windows 124 ...
Страница 141: ...MagTek Device Drivers for Windows 138 ...
Страница 163: ...MagTek Device Drivers for Windows 160 ...
Страница 165: ...MagTek Device Drivers for Windows 162 ...
Страница 167: ...MagTek Device Drivers for Windows 164 ...