TRST-A10/TRST-A15 POS Printer OPOS Control Application User’s Manual
TOSHIBA TEC CORPORATION EAA-02450
20
1.1.4 CheckHealth Method Specifications
1) Internal Level (OPOS_CH_INTERNAL)
This only checks a connection status of the device.
Value (ResultCode)
CheckHealthText
Meaning
OPOS_SUCCESS
“Internal Hcheck: Successful”
Connected
OPOS_E_FAILURE
“Internal Hcheck: Error”
Not connected
OPOS_E_NOTCLAIMED
“Hcheck: Exclusive”
Exclusive error
OPOS_E_DISABLED
“Hcheck: Disabled”
Disabled
2) External Level (OPOS_CH_EXTERNAL)
This checks a device status by printing a fixed character string given below.
“TEC POS Printer OPOS CheckHealth:External”
Value (ResultCode)
CheckHealthText
Meaning
OPOS_SUCCESS
“External Hcheck: Successful”
Completed successfully
OPOS_E_FAILURE
“External Hcheck: Error”
Completed abnormally
OPOS_E_BUSY
“External Hcheck: Busy”
Device busy
OPOS_E_NOTCLAIMED
“Hcheck: Exclusive”
Exclusive error
OPOS_E_DISABLED
“Hcheck: Disabled”
Disabled
3) Interactive Level (OPOS_CH_INTERACTIVE)
This displays the following dialog box. Clicking each command button starts the corresponding operation
of the POS printer and shows a printer status in the two “Printer Status” boxes.
Each command does the following:
[Print ASCII Code]:
Prints one line with alphanumeric characters.
[Print ‘H’]:
Prints one line with the character “H”.
[Feed]:
Performs a paper feed.
[Cut]:
Performs a paper cut.
[Bitmap]:
Prints a bitmap image (192-dot height x full print width).
[Dual Side]:
Performs a dual-side print.