TRST-A10/TRST-A15 POS Printer OPOS Control Application User’s Manual
TOSHIBA TEC CORPORATION EAA-02450
55
const LONG TPTR_DIE_DRAWER_HIGH = 0x1204;
const LONG TPTR_DIE_ONLINE = 0x1300;
const LONG TPTR_DIE_OFFLINE = 0x1308;
const LONG TPTR_DIE_FEEDSW_OFF = 0x1600;
const LONG TPTR_DIE_FEEDSW_ON = 0x1640;
const LONG TPTR_DIE_RESET_OFF = 0x2000;
const LONG TPTR_DIE_RESET_ON = 0x2001;
const LONG TPTR_DIE_JRN_JAM_OK = 0x2202;
const LONG TPTR_DIE_JRN_JAM_ERROR = 0x2206;
const LONG TPTR_DIE_REC_JAM_OK = 0x2200;
const LONG TPTR_DIE_REC_JAM_ERROR = 0x2204;
const LONG TPTR_DIE_CUTTER_OK = 0x2300;
const LONG TPTR_DIE_CUTTER_ERROR = 0x2308;
const LONG TPTR_DIE_24VPOWER_OK = 0x2500;
const LONG TPTR_DIE_24VPOWER_DOWN = 0x2520;
const LONG TPTR_DIE_IDLE = 0x2600;
const LONG TPTR_DIE_EXECUTE = 0x2640;
const LONG TPTR_DIE_COMPLETE_ERR = 0x3660;
const LONG TPTR_DIE_COMPLETE_OK = 0x3640;
const LONG TPTR_DIE_HEAD_BROKEN = 0x4001;
const LONG TPTR_DIE_HEAD_OK = 0x4000;
const LONG TPTR_DIE_INVALID_PAPER = 0x4501;
const LONG TPTR_DIE_NIBBLE_TIMEOUT = 0x5001;
const LONG TPTR_DIE_NIBBLE_OK = 0x5000;
//SLIP Printer Only
const LONG TPTR_DIE_SLIP_BOF_EMPTY = 1001;
const LONG TPTR_DIE_SLIP_BOF_PAPEROK = 1002;
const LONG TPTR_DIE_SLIP_TOF_EMPTY = 1003;
const LONG TPTR_DIE_SLIP_TOF_PAPEROK = 1004;
const LONG TPTR_DIE_SLIP_GAP_OPEN = 1005;
const LONG TPTR_DIE_SLIP_GAP_CLOSE = 1006;
const LONG TPTR_DIE_SLP_JAM_OK = 0x2208;
const LONG TPTR_DIE_SLP_JAM_ERROR = 0x2210;
/////////////////////////////////////////////////////////////////////
// DirectIO Method Command Constants
/////////////////////////////////////////////////////////////////////
const LONG TPTR_CMD_DIRECT_OUTPUT = 1; // Direct Output
const LONG TPTR_CMD_SET_WRITETHREAD = 2; // Set Async Write Thread Status
const LONG TPTR_CMD_GET_WRITETHREAD = 3; // Get Async Write Thread Status
const LONG TPTR_CMD_SET_PTRREQUEST = 4; // Set Printer Request
const LONG TPTR_CMD_FILE_OUTPUT = 5; // Direct Output From File
const LONG TPTR_CMD_SET_ICONBMPNAME = 6; // Set/Clear icon bitmap name
const LONG TPTR_CMD_GET_ICONBMPNUMBER = 7; // Get icon bitmap number from name
const LONG TPTR_CMD_GET_ICONBMPNAME = 8; // Get icon bitmap name from number
const LONG TPTR_CMD_GET_ICONBMPCOUNTER = 9; // Get number of registered icon bitmap
const LONG TPTR_CMD_PRINT_TEXT_WITHICONBMP = 10;// Print text with icon bitmap
const LONG TPTR_CMD_BEGIN_MIXDATA_PAGE = 11; // Begin Image/Text Mixed Page
const LONG TPTR_CMD_END_MIXDATA_PAGE = 12; // End Image/Text Mixed Page
const LONG TPTR_CMD_ADD_ICONBMP_TO_PAGE = 13; // Add Image data into Mixed Page
const LONG TPTR_CMD_ADD_TEXT_TO_PAGE = 14; // Add Text data into Mixed Page
const LONG TPTR_CMD_SET_BITMAP_WIDTH = 15; // Set Preset Bitmap Width