TRST-A10/TRST-A15 POS Printer OPOS Control Application User’s Manual
TOSHIBA TEC CORPORATION EAA-02450
89
Other Common Methods
Each method notifies a result using a return value, Result Code property, and ResultCodeExtended property.
Method
Value
ResultCode
ResultCodeExtended
Meaning
Error Handling
OPOS_SUCCESS
0
Completed successfully
–
OPOS_E_CLOSED
0
The device is closed.
Open the device using the Open
method.
Claim /
ClaimDevice
OPOS_E_TIMEOUT
0
Other process has exclusive access
to the device.
Wait until the exclusive access is
released.
OPOS_SUCCESS
0
Completed successfully
–
OPOS_E_CLOSED
0
The device is closed.
–
Release /
ReleaseDevice
OPOS_E_ILLEGAL
0
Does not have exclusive access to the
device.
–
OPOS_SUCCESS
0
Completed successfully
–
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.
OPOS_EPTR_COVER_OPE
N
0
Cover Open (The printer cover is
open.)
Execute this method again after
closing the printer cover.
ClearOutput
OPOS_EPTR_REC_EMPTY 0
No Paper (The receipt paper has run
out.)
Execute this method again after
loading a new receipt paper.
ResetStatisTics
OPOS_E_ILLEGAL
0
Not supported
–
RetrieveStatisTics
OPOS_E_ILLEGAL
0
Not supported
–
UpdateStatisTics
OPOS_E_ILLEGAL
0
Not supported
–