TRST-A10/TRST-A15 POS Printer OPOS Control Application User’s Manual
TOSHIBA TEC CORPORATION EAA-02450
90
4) Special Methods
There are two types of methods: those that only operate synchronously and those that operate both synchronously and asynchronously. Regarding the latter
methods, a notification method differs between when they operate synchronously and when they operate asynchronously. This document describes for both
cases.
Methods that operate both synchronously and asynchronously are as follows:
PrintNormal method
PrintTwoNormal method
CutPaper method
RotatePrint method
PrintBarCode method
PrintBitmap method
TransactionPrint method
MarkFeed method
When the methods operate synchronously:
The table below describes the synchronous operations for the both types of 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.
PrintNormal
OPOS_E_NOTCLAIMED
0
Does not have exclusive access to the
device.
Obtain the exclusive access using
the Claim (ClaimDevice) method.