Micrcommand method, Reset method – MagTek MTMICRImage User Manual
Page 17
Methods
13
MICRCOMMAND METHOD
Syntax
MICRImage.MicrCommand(ByVal strCommand As String, Optional bReturnData As Variant
= True)
The MicrCommand method syntax has these parts:
Part
Description
StrCommand
The command to send the MICR
bReturnData
If the Command returns data,
then set this flag to True; if the
command has no response (per
the programmers reference
manual), then set this flag to
False
Remarks
Can be used to Send Commands not specified in the OCX to the MICR.
Example
MICRImage.MicrCommand("SWA 00100010", False)
‘setting the SWA command has no response.
Response = MICRImage.MicrCommand("SWA", True)
‘getting the SWA command has a response.
Data Type
String
RESET METHOD
Sets the MICRImage back to its power on conditions as defined in its EEPROM.
Returns "OK".
Syntax
MICRImage.Reset() As String
The Reset method syntax has no parameters.