TRST-A10/TRST-A15 POS Printer OPOS Control Application User’s Manual
TOSHIBA TEC CORPORATION EAA-02450
103
When the methods operate asynchronously:
The table below describes the asynchronous operations of the methods that can operate both synchronously and asynchronously.
Each method notifies a result of process reservation using a return value and ResultCode property and ResultCodeExtended property and a result of the
process using the following events: OutputCompleteEvent when the process completed successfully and ErrorEvent when the process failed. The
ResultCode and ResultCodeExtended parameters indicate the reason of failure.
Method
Value
ResultCode
ResultCodeExtended
Meaning
Error Handling
OPOS_SUCCESS
0
Process reservation accepted
–
OPOS_E_CLOSED
0
The device is closed.
Open the device using the Open
method.
OPOS_E_NOTCLAIMED
0
Does not have exclusive access to the
device.
Obtain the exclusive access using
the Claim (ClaimDevice) method.
OPOS_E_DISABLED
0
The device is disabled.
Set the DeviceEnabled property to
TRUE to enable the device.
Illegal value
Check the parameter value.
PrintNormal
(Result of process
reservation)
OPOS_E_ILLEGAL
0
Failed to create system resource.
(Failed to secure the memory area.)
Restart the POS system.
Need investigation if the same
error repeats.