TRST-A10/TRST-A15 POS Printer OPOS Control Application User’s Manual
TOSHIBA TEC CORPORATION EAA-02450
56
const LONG TPTR_CMD_GET_BITMAP_WIDTH = 16; // Get Preset Bitmap Width
const LONG TPTR_CMD_SET_BITMAP_ALIGNMENT = 17; // Set Preset Bitmap Alignment
const LONG TPTR_CMD_GET_BITMAP_ALIGNMENT = 18; // Get Preset Bitmap Alignment
const LONG TPTR_CMD_SETBITMAP = 19; // Set Preset Image(High speed)
const LONG TPTR_CMD_PRINTBITMAP = 20; // Print Preset Image
const LONG TPTR_CMD_DEFINE_IMAGE_SLOT = 21; // Define Image Slot Size for Preset Bitmap
const LONG TPTR_CMD_PAPER_KIND = 22; // Set Paper Kind to Normal or Color
const LONG TPTR_CMD_DATA_COLOR = 23; // Set Data Color to default or red(blue)
const LONG TPTR_CMD_GET_PRINTERINFORMATION = 24;// Get Printer Hardware Information
const LONG TPTR_CMD_BEGIN_PAGEMODE = 25; // Begin no rotate PageMode data
const LONG TPTR_CMD_END_PAGEMODE = 26; // End no rotate PageMode data
const LONG TPTR_CMD_RESET_PRINTER = 27; // Reset Printer
const LONG TPTR_CMD_SETBITMAPEX = 28; // Set Preset Image(High speed & ReverseBitmap)
const LONG TPTR_CMD_CHECK_PRINTERSTATUS = 29; // Get Printer Hardware Status
const LONG TPTR_CMD_SET_HORIZONTAL_ABS = 30;
// Set horizontal position at absolute coordinate.(PageMode only)
const LONG TPTR_CMD_SET_VERTICAL_ABS = 31;
// Set vertical position at absolute coordinate.(PageMode only)
const LONG TPTR_CMD_SET_HORIZONTAL_REL = 32;
// Set horizontal Position at relative coordinate.(PageMode only)
const LONG TPTR_CMD_SET_VERTICAL_REL = 33;
// Set Vertical Position at relative coordinate.(PageMode only)
const LONG TPTR_CMD_SET_CHILDPG_HORIZONTAL= 34;
// Set create new area's horizontal position at absolute
coordinate.(PageMode only)
const LONG TPTR_CMD_SET_CHILDPG_VERTICAL = 35; // Set create new area's vertical position at absolute
coordinate.(PageMode only)
const LONG TPTR_CMD_SET_CHILDPG_WIDTH = 36;
// Set create new area's width.(PageMode only)
const LONG TPTR_CMD_SET_CHILDPG_HEIGHT = 37;
// Set create new area's height.(PageMode only)
const LONG TPTR_CMD_SET_CHILDPG_DIRECTION = 38; // Set create new area's direction.(PageMode only)
const LONG TPTR_CMD_CREATE_CHILDPG = 39;
// Create new print area.(PageMode only)
const LONG TPTR_CMD_CHECK_INPAGEMODE = 40;
// Check Now Printer's Mode.(PageMode or StandardMode)
const LONG TPTR_CMD_CUT_PAPER = 41;
// CutPaper Command
const LONG TPTR_CMD_CANCEL_PAGEMODE = 42;
// Cancel no rotate PageMode data
const LONG TPTR_CMD_RESET_PRINTER2 = 43; // Reset Printer 2 (No Up Reset Event)
// dual side printing definition
const LONG TPTR_2STCMD_SET_PRITINGMODE =101;
const LONG TPTR_2STCMD_SET_PRINTINGSIDE =102;
const LONG TPTR_2STCMD_SET_UPSIDEDOWN = 103;
const LONG TPTR_2STCMD_SET_SWAPPRINTINGSIDE = 104;
const LONG TPTR_2STCMD_PREDEFINE = 105;
const LONG TPTR_CMD_DRAWER_OPEN = 111;
const LONG TPTR_CMD_DRAWER_STATUS = 112;
const LONG TPTR_CMD_SETBITMAP_FLASH_START = 115;
const LONG TPTR_CMD_SETBITMAP_FLASH_END = 116;
//for slip
const LONG TPTR_CMD_GET_SLIP_SPACE_BEFORE_TOF = 101;
// Available space before TOF on slip
const LONG TPTR_CMD_GET_SLIP_SPACE_AFTER_BOF = 102;
// Available space after BOF on slip
//for TSRT56 Printer
const LONG TPTR_CMD_SETBITMAP_MULTI = 201;
// Multiple image setup function
const LONG TPTR_CMD_PRINT_BITMAP_MULTI = 202;
// Multiple image printing function
const LONG TPTR_CMD_ALIGNMENT_BITMAP_MULTI = 203;