free hit counter

Directio 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

3) DirectIO Method

The DirectIO method is described for each command.
There are two types of commands: those that only operate synchronously and those that operate both synchronously and asynchronously. Regarding the latter
commands, a notification method differs between when they operate synchronously and when they operate asynchronously. This document describes for both
cases.
Commands that operate both synchronously and asynchronously are as follows:
TPTR_CMD_DIRECT_OUTPUT
TPTR_CMD_SET_PTRREQUEST
TPTR_CMD_FILE_OUTPUT
TPTR_CMD_PRINTBITMAP
 When the commands operate synchronously:
The table below describes the synchronous operations for the both types of commands.
Each method notifies a result using a return value, Result Code property, and ResultCodeExtended property.
Command
TPTR_CMD_DIRECT_
OPOS_SUCCESS
OUTPUT
OPOS_E_CLOSED
OPOS_E_NOTCLAIMED
OPOS_E_DISABLED
Value
ResultCodeExtended
ResultCode
0
0
0
0
Meaning
Completed successfully
The device is closed.
Does not have exclusive access to the
device.
The device is disabled.
TOSHIBA TEC CORPORATION EAA-02450
Error Handling
Open the device using the Open
method.
Obtain the exclusive access using
the Claim (ClaimDevice) method.
Set the DeviceEnabled property to
TRUE to enable the device.
72

Advertisement

Table of Contents
loading