![background image](http://html.mh-extra.com/html/toshiba/trst-a10-series/trst-a10-series_user-manual_429122054.webp)
TRST-A10/TRST-A15 POS Printer OPOS Control Application User’s Manual
TOSHIBA TEC CORPORATION EAA-02450
54
2. Header File for the Toshiba TEC Printers
TecPtr.h
/////////////////////////////////////////////////////////////////////
//
// TecPtr.h
//
// Nibble POS Printer header file for OPOS Applications.
//
// Modification history
// ------------------------------------------------------------------
// 98-01-07 OPOS Release 1.0
TEC
// 98-02-17 Add "DirectIO Method Command Constants"
TEC
// 98-02-17 Change "JAM ERROR" Status
TEC
// 98-03-10 Add Printer Complete Status
TEC
// 98-03-23 Add Error Continue Mode
TEC
// 98-03-24 Add File Output Command
TEC
// 98-04-16 Add Icon Bitmap Printing
TEC
// 98-05-14 Add High Speed Image Print Interface
TEC
// 98-06-23 Add Color Print Command
TEC
// 98-08-08 Add Printer Information Command
TEC
// 98-08-12 Add Thermal Head Dot Broken Event
TEC
// 98-08-18 Add PageMode management command
TEC
// 98-08-26 Add Printer Reset Interface
TEC
// 1999-04-07 Add DR209 Slip detail information
TEC
// 2000-01-11 Add High speed & ReverseBitmap
TEC
// 2000-03-03 Add Set Print Position in PageMode
TEC
// 2000-03-15 Add Get Printer Hardware Status
TEC
// 2000-03-17 Del Set Print Position in PageMode
TEC
// 2000-03-17 Add Set horizontal position(X2)
TEC
// 2000-03-17 Add Set vertical position(X2)
TEC
// 2000-03-17 Add Set create new area's horizontal position TEC
// 2000-03-17 Add Set create new area's vertical position
TEC
// 2000-03-17 Add Set create new area's width
TEC
// 2000-03-17 Add Set create new area's height
TEC
// 2000-03-17 Add Set create new area's direction
TEC
// 2000-03-17 Add Create new print area
TEC
// 2000-03-21 Add Check Now Printer's Mode
TEC
// 2000-03-22 Change Get Printer Hardware Status
TEC
// 2000-04-21 Add CutPaper Command
TEC
// 2000-05-16 ADD Cancel no rotate PageMode data
TEC
// 2000-05-24 Add Invalid Paper Event
TEC
// 2000-09-07 Add New Reset Printer(No Up Reset Event)
TEC
// 2000-12-05 Add TRST56 parallel printer multiple image
TEC
// 2001-03-06 Add Nibble Timeout Event
TEC
// 2004-08-23 Add TPTR_StatusUpdate
TEC
// 2006-11-30 Add dual side printing definition for TRST-A1x TEC
/////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////
// DirectIOEvent EventNumber Constants
/////////////////////////////////////////////////////////////////////
const LONG TPTR_StatusUpdate = 1;
const LONG TPTR_EventNumber_Nibble = 1;
const LONG TPTR_EventNumber_DRS209 = 100;
/////////////////////////////////////////////////////////////////////
// "DirectIOEvent" Event: "Data" Parameter Constants
/////////////////////////////////////////////////////////////////////
const LONG TPTR_DIE_DRAWER_LOW = 0x1200;