free hit counter

Open Method; Close Method - Toshiba TRST-A10 User Manual

Pos printer opos control
Hide thumbs Also See for TRST-A10:
Table of Contents

Advertisement

TRST-A10/TRST-A15 POS Printer OPOS Control Application User's Manual

1) Open Method

Notifies a result using a return value and OpenResult property. One of the values is placed in the ResultCode: OPOS_SUCCESS when the method completed
successfully, the same value as the current if the device has been already opened, then OPOS_E_CLOSED for other cases.
Method
Open
OPOS_SUCCESS
OPOS_E_NOSERVICE
OPOS_E_ILLEGAL
OPOS_E_NOEXIST
OPOS_E_FAILURE

2) Close Method

Notifies a result using a return value and Result Code property.
Method
Close/CloseService
OPOS_SUCCESS
OPOS_E_CLOSED
Value returned from
Release/ReleaseDevice
Value
OpenResult
OPOS_SUCCESS
OPOS_ORS_BADCO
OPOS_ORS_RESOURCEFAIL
OPOS_ORS_ALREADYOPEN
OPOS_ORS_CONFIG
OPOS_ORS_RESOURCEFAIL
Value
ResultCode
OPOS_E_CLOSED
OPOS_E_CLOSED
ResultCode for
Release/ReleaseDevice
Meaning
Completed successfully
CO is not supporting the required
method.
Failed to obtain the OS version.
Already opened.
Incorrect registry
Internal abnormality
Failed to create system resource.
Meaning
Completed successfully
Already closed.
Refer to the section,
"Release/ReleaseDevice".
TOSHIBA TEC CORPORATION EAA-02450
Error Handling
Need investigation.
Need investigation.
Need investigation.
Restart the POS system.
Need investigation if the same error
repeats.
Error Handling
71

Advertisement

Table of Contents
loading