Home

TEC OPOS CONTROL Application User`s Manual 10/14/2004

image

Contents

1. Appendix C List of OPOS Driver POS Device Driver File Name Windows95 98 OPOS Driver Device Driver File Name PKBST 5x POS Keyboard driver Kbdjp drv Kvdus drv 1 Posesc dll Posesc32 dll TEC serial port driver MULTI ISR driver Vmultid vxd 1 Kbdjp drv Kbdus drv is installed as POS Keyboard Driver and changed it to use drv at System ini file boot Keyboard drv cYOPOSYTECYDRVYKBDJP DRV WindowsNT4 0 OPOS Driver Device Driver File Name PKBST 5x POS Keyboard driver i8042prt sys 1 kodclass sys 1 Posedc32 dll mkmgr exe DRWST cash drawer driver DRVDRW sys Simplified UPS driver DRVUPS sys UPS dll UPSWatch exe UPS Service 1 i8042prt sys kbdclass sys renewal a standard driver of WindowsNT4 0 2000 XP A file name changes it for POS Driver use it is same as a standard but Windows2000 OPOS Driver Device Driver File Name PKBST 5x POS Keyboard driver ti8042prt sys tkodclass sys Posedc32 dll mkmgr exe DRWST cash drawer driver DRVDRW sys Simplified UPS driver DRVUPS sys UPS dll UPSWatch exe UPS Service WindowsXP OPOS Driver PKBST 5x POS Keyboard driver ti8042prt sys tkodclass sys A arter Rosedcaz dl mingrexe Simplified UPS driver DRVUPS sys UPS dll UPSWatch exe UPS Service The others WindowsNT4 0 OPOS Driver Tecpos cpl Control Pannel Applet WindowsNT4 0 OPOS Driver Cptool exe 1 Control Pannel Tool 1 Installation for WindowsNt4 0 2000 XP Service
2. ScannerWriteBusyCheck 1 No DSR ScannerReadBusyCheck 1 No CTS 1 Necessity of that these are as a set up of device to a similar value About a content similarly to RS Scanner Control 9 2 5 Precautions and restrictions As RS Scanner Control similary Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 12 9 3 USB Scanner Control USBSCANNER 9 3 1 Models for support HS 530 UB 9 3 2 Functions Common property ControlObjectDescription TEC OPOS Scanner Control Object ControlObjectVersion 4002000 EE 1 DeviceDescription may vary depending on the models to be connected 2 DeviceName may vary depending on the models to be connected Table 107 USB Scanner Control Property Value List 9 3 2 CheckHealth Specification 1 Internal Level OPOS_CH_INTERNAL Value ResultCode CheckHealthText Meaning OPOS E ILLEGAL Intemal HCheck lllegal Not support 2 External Level OPOS_CH EXTERNAL Value ResultCode CheckHealthText Meaning OPOS E ILLEGAL Extemal HCheckclllegal Not support EAA 01376 153 Application User s Manual TOSHIBA TEC CORPORATION 3 Interactive Level OPOS CH_INTERACTIVE The following dialog box appears A bar code initially scanned becomes a master bar code Bar codes subsequently scanned are shown in the list box at the center These bar codes are compared with the master bar code and OKs and NGs are counted up Scann
3. 00 0 cece eee 21 Table 8 List of LIUST51 Line Display Control Property value 21 Table 9 LIUST51 Line Display Control Registry 0 00 cece eee eee 24 Table 10 Brightness of LIUST51 Line Display 0 0 0 ccc eee 24 Table 11 LIUST52 Line Display Control functions 0 0 0 0 cee ee 26 Table 12 List of LIUST52 Line Display Control Property value 26 Table 13 LIUST52 Line Display Control Registry 0oocooocooooooooo 29 Table 14 Brightness of LIUST52 Line Display 0 0 0 cece eee 30 Table 15 Screen mode of LIUST52 Line Display 0 0 00 cece eee 30 Table 16 LIUST53 Line Display Control functions 0 ccc ee 31 Table 17 List of LIUST53 Line Display Control Property value 05 31 Table 18 LIUST53 Line Display Control Registry 0 0c cece eee 34 Table 19 Brightness of LIUST53 Line Display 0 0 0 cece eee 35 Table 20 Screen mode of LIUST53 Line Display 0 0 0 0 e eee eee 35 Table 21 List of PKBST Keylock Control Property value 0 eee ee 36 Table 22 PKBST Keylock Control Registry 0 0 0 0 0 cece eee eee 37 Table 23 KeyPosition of PKBST Keylock Control 0 0 0 cc eee ee eee 38 Table 24 MCRST MSR Control functions 0 ccc eee 39 Table 25 List of MCRST MSR Control Property value 0 0 cee eee 39 Table 26 MCRST MSR Control Registry 0 0 cece eens 41 Table 27 TRUST52P POS Printer Control
4. Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 Table 69 DRJST50P POS Printer Control Escape sequence 8 7 3 CheckHealth Specification 1 Internal Level OPOS_CH_INTERNAL Value ResultCode CheckHealth Text Meaning OPOS_SUCCESS Intemal HCheck Successful Connected OPOS E FAILURE Intemal HCheck Error Not connected OPOS E DISABLED HCheck Disabled Device is disabled OPOS E NOTCLAIMED HCheck Exclusive Exclusive error ote When the other device than a POS printer is connected to the specified port Intemal Successful may be stored in CheckHealthText because only READY signal is checked 2 External Level OPOS_CH_EXTERNAL Value ResultCode CheckHealth Text Meaning OPOS_SUCCESS Extemal HCheck Successful Successful completion OPOS E FAILURE Extemal HCheck Error Printer error OPOS E BUSY External HCheck Busy Device busy OPOS E DISABLED HCheck Disabled Device is disabled OPOS E NOTCLAIMED HCheck Exclusive Exclusive error 1B Application User s Manual TOSHIBA TEC CORPORATION 3 Interactive Level OPOS CH_INTERACTIVE Displays the following dialog box to confirm successful printing to the POS printer by clicking each command button Select OK button or NG button by visually checking the result POS Printer Interactive Check Health EAA 01376 Command Print H Feed Cut Stamp Printer Status P
5. HCheck Disabled Device is disabled OPOS E NOTCLAIMED HCheck Exclusive Exclusive error Note When the other device than a POS printer is connected to the specified port Intemal Successful may be stored in CheckHealthText because only READY signal is checked Extemal Level OPOS_CH_ EXTERNAL Value ResultCode CheckHealthText Meaning OPOS_SUCCESS Extemal HCheck Successful Successful completion OPOS E FAILURE Extemal HCheck Error Printer error OPOS E BUSY Extemal HCheck Busy Device busy OPOS E DISABLED HCheck Disabled Device is disabled OPOS E NOTCLAIMED HCheck Exclusive Exclusive error 12 Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 13 3 Interactive Level OPOS CH_INTERACTIVE Displays the following dialog box to confirm successful printing to the POS printer by clicking each command button Select OK button or NG button by visually checking the result POS Printer Interactive CheckHealth Print H Feed Cut Stamp Printer Status Command Paper NearEnd OK Error The dialog box will not be displayed when the device is operating Value ResultCode CheckHealth Text Meaning OPOS_SUCCESS Interactive HCheck Successful Successful OK button was clicked OPOS E FAILURE Interactive HCheck Error Error NG button was clicked OPOS E BUSY Interactive HCheck Busy Device busy
6. Successful OK button was clicked OPOS E FAILURE Extemal HCheck Data Error Keylock Data error OPOS E NOHARDWARE Extemal HCheck Not Support Not support OPOS E BUSY Extemal HCheck Busy Device busy OPOS E DISABLED HCheck Disabled Device is disabled 3 Interactive Level ODPOS_CH_INTERACTIVE Displays the following dialog box and confirms that the check box will be successfully displayed by tuming keylock Select OK button or NG button by visually checking the result The dialog box will not be displayed when the device is operating Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 37 KeyLock Interactive Check Health rKeyLock Image 1 2 E a e ADE e C 2 o c Cc C C OK NG Value ResultCode CheckHealth Text Meaning OPOS_SUCCESS Interactive HCheck Successful Successful OK button was clicked OPOS E FAILURE Interactive HCheck Data Error Error NG button was clicked OPOS E DISABLED HCheck Not Enabled Device is disabled Note You need to close all other applications to tun CheckHealth as keylock events will affect them 6 1 4 OPOS Registry keeps configuration information as follows HKEY_LOCAL_MACHINE SOFTWAREYOLEforRetail ServiceOPOS Keylock PKBST Standard TEC PKBST Service C OPOS TEC Pkbst dll Description TEC Keylock on PKBST 5x POS Keyboard Version 1 2 File name of the service object Brief e
7. 2 0 cece 39 ZA MCRST MSR Control MCRST v o2 5 oos aewees oda 39 711 Models for SUpport uc ornate cent kh chews i cd 39 712 FUCSIA oy temas cals est 39 713 CheckHealth Specification 0 2 cece eee eee eens 39 714 OPOS ASUS iadan tasaciones 40 715 Precautions and resiictionS 2 0 eee eee eens 41 8o POS PAM E O EA te E aceite a 42 8 1 TRJST52P POS Printer Control TRJST52P 02 c cee eee eee eee 42 8 1 1 Mod ls for Support ia E E 42 8 1 2 FUNCIONS dat en ida tild 42 8 1 3 CheckHealth Specification ii he Rae mee lds 46 8 14 OPOS ASUS As Ula Rnd O ose ide de 47 8 1 5 Precautions and restrictions 6 0 0 cee eee eee eee 48 8 2 TRJST52S POS Printer Control TRUST52S ccc eee eee 52 8 2 1 Models for support lt r saiaci ov iaevwa sei is 52 8 2 2 FUNCIONS sot anki asi a 52 8 23 CheckHealth Specification 0oooooooccooccrrrrrrrrr 56 8 24 OPOS Regist 2 0 iscsi daw ad aa aaa E cui Fae teh rc 57 8 2 5 Precautions and resiictionS 1 0 eee eens 58 Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 83 TRSTS3P POS Printer Control TRST53P ooo vores 353 an cas d 62 8 3 1 Models for support icaricartta tee mete aid dana 62 8 3 2 FUNCIONS snes anata act aan cca hte ate sim ete ete Need aN ANRE 62 8 3 3 CheckHealth Specification cece eee 66 8 3 4 OPOS ASIS IV citas Giro el ete ke ce duet a ele 67 8 3 5 Precautions and restrictions teorica Sag shee Hae RAN eae ch eae n 68
8. 8 5 1 Models for support TRST 56 P Parallel printer 8 5 2 Functions Printers supported Printers not supported Recelpt printer Joumal printer A Ser OOOO Batch processing Logo print Two color print Bar code print bitmap print Italic print Form cut Shaded character Multiple line feed Single line feed 1 203inch Left right rotation print Center aligned Right aligned Left and right rotational print Bold Double width amp height character Inverted print Reversed character Synchronous Asynchronous print Error report End and NearEnd of receipt form Escape sequences c Table 53 TRST56P POS Printer Control functions Special property Y Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 amp 1 TRUE CapRecBold TRUE CapRecDhigh TRUE CapRecDwide TRUE CapRecDwideDhigh TRUE CapRecEmptySenser TRUE CapRecltalic FALSE CapRecLeft90 FALSE CapRecNearEndSensor FALSE CapRecPapercut TRUE CapRecRight90 TRUE CapRecRotate180 TRUE CapRecStamp FALSE CapRecUnderline TRUE CapSloPresent FALSE CapSlpFullslip FALSE CapSlp2Color FALSE CapSlpBarCode FALSE CapSlpBitmap FALSE CapSloBold FALSE CapSloDhigh FALSE CapSlpDwide FALSE CapSlpDwideDhigh FALSE CapSlpEmptySenser FALSE CapSlpltalic FALSE CapSlpLeft90 FALSE CapSlpNerEndSenser FALSE CapSIpRight90 FALSE CapSloRotate180 FALSE CapSloUnderline FALSE CharacterSet 437 CharacterSetList 437 932 850 860 863 865 852 866 857 999 FontTypefaceList FontA FontB J
9. Error report End and NearEnd of receipt form Escape sequences c Table 60 TRST56S POS Printer Control functions IE SCC S s S Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 91 CapRecBold TRUE CapRecDhigh TRUE CapRecDwide TRUE CapRecDwideDhigh TRUE CapRecEmptySenser TRUE CapRecltalic FALSE CapRecLeft90 FALSE CapRecNearEndSensor FALSE CapRecPapercut TRUE CapRecRight90 TRUE CapRecRotate180 TRUE CapRecStamp FALSE CapRecUnderline TRUE CapSlpPresent FALSE CapSlpFullslip FALSE CapSlo2Color FALSE CapSloBarCode FALSE CapSlpBitmap FALSE CapSlpBold FALSE CapSlpDhigh FALSE CapSlpDwide FALSE CapSlbDwideDhigh FALSE CapSloEmptySenser FALSE CapSlpltalic FALSE CapSipLeft90 FALSE CapSlpNerEndSenser FALSE CapSlpRight90 FALSE CapSlpRotate180 FALSE CapSlpUnderline FALSE CharacterSet 437 CharacterSetL ist 437 932 850 860 863 865 852 866 857 999 FontTypefaceList FontA FontB JmLineChars JrnLineCharsList JmLineHeight JmLineSpacing JmLineWidth RecLineChars 48 by default RecLineCharsList 48 64 RecLineHeight 24 by default RecLineSpacing 34 by default RecLinesToPaperCut 4 by default RecLineWidth 576 by default RecSidewaysMaxChars RecSidewaysMaxLines 16 SlpBarCodeRotationList SlpLineChars SlpLineCharsList SlpLineHeght SlpLinesNearEndToEnd SlpLineSpacing SloLineWidth Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 2 patines ss SjpSidewa
10. TEC PWMGREV2 OPOS POS Power Service Object 1008001 PWMGREV2 POS PowerManagement PWMGREV2 OPOS_PR_STANDARD or OPOS_PR_NONE 1 FALSE FALSE Value TRUE or FALSE 2 TRUE or FALSE 2 FALSE TRUE or FALSE 1 PWR_UPS_FULL PWR_UPS CRITICAL FALSE When the UPS function is not provided on the POS terminal the value will be FALSE 2 When the sensor function is not provided on the POS terminal the value will be FALSE Table 105 POS Power Control Properties Values in part No Support not supported Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 1A 10 2 4 CheckHealth Specification 1 Intemal Level OQPOS_CH_INTERNAL This control does not support a health check of this level Retum code CheckHealthText Meaning Resolution ResultCode OPOS E CLOSED No change Closed Open by the Open method OPOS E ILLEGAL Intemal Hcheck llega Not supported This function is not available 2 Extemal Level OPOS_CH EXTERNAL Checks the UPS battery status Retum code CheckHealthText Meaning Resolution ResultCode OPOS SUCCESS Extemal Hcheck Almost fully Successful charged OPOS_SUCCESS Extemal Hcheck Eror Battery is dead OPOS E ILLEGAL Extemal Hcheck Failed in An investigation is necessary Illegal retrieving the status OPOS E CLOSED No change Closed Open by the Open method OPOS E DISABLE Hcheck Not Enabled Disabled Change the value of the D DeviceEn
11. xxxLineChars change will affect the font The value set on xxxLineChars will be adjusted to the nearest and greater value than the value specified and affect the font Font change will also affect xxxLineHeight value Change of xxxLineHeight will affect the font If xxxLineHeight is less than 24 FontB will be effective and otherwise FontA will be effective About PrintBarCode method When the absolute position is specified by Alignment parameter of PrintBarCode method right alignment print is assumed due to the restriction of the printer itself The value specified by Width parameter will be converted into three varieties as shown below Width parameter Character size Less than 1 2 of paper width Small Less than 3 4 of paper width Medium Table 38 TRJST52S Character size of Width parameter Please print the UPC E barcode with the check digits Not with the leading character for adjustment of transmission digits UPC E BARCODE0 X X X3X4 X5 Xs C D PRINT DATA X1 X2X3 X4 Xs Xe C D Specify the print data as above It should be 7 digits Bit map related methods and bit map print escape sequence SetBitmap which handles bit maps and bit map files handled by PrintBitmap have the restriction to handle only the monochrome Though SetBitmap allows two bit maps to be set by specification this control allows only one As this bit map is cached in the printer itself and is printed by bit map print escape sequence the bit map set
12. General for TEC OPOS Control 2 1 General for the structure POS Application Control Object CO Service Object SO Windows95 98 NT 2000 XP device driver Physics device Control Object CO ActiveX Control Service Object SO OLE Automation Server Device driver Kemel mode User mode Device driver 2 2 Device Driver TEC OPOS Control can function on TEC POS Terminals however it requires some special Device Drivers depending on their models TEC OPOS Control Kits provide 2 different kinds of disks called OPOS Control CO SO and OPOS Driver respectively The OPOS Control CO SO provides the Service Object abbr SO module and the Control Object abbr CO module defined in the OPOS The OPOS Driver is provided as the Device Driver for each POS Terminal and for each OS Windows95 98 NT4 0 or Windows 2000 or Windows XP Installation to the PC is not allowed because those disks are compiled for TEC POS Terminals Disk DAA ers etl ST 5500 6400 6500 6500N OPOS Driver PKBST 5x POS keyboard driver DRWST cash drawer driver 1 Simplified UPS driver 1 ST 5600 OPOS Driver PKBST 5x POS keyboard driver TEC serial port driver 3 OCIA scanner driver 3 Mult interrupt driver 3 DRWST cash drawer driver 1 Simplified UPS driver 1 ST 88 OPOS Driver 2 3 PKBST 5x POS keyboard driver TEC serial port driver OCIA scanner driver Mult interrupt driver ST 90 OPOS Driver 1 PKBST 5x POS keyboard dri
13. S Bold Underline Be ES Operable signifies the underline width O No underline 1 Thin underline 2 Thick underline i vC SCFC SCHIC SCPC SCRC Operable signifies the horizontal magnification 0 150 Single magnification 151 Double magnification Vertical magnification Operable signifies the vertical magnification 0 150 Single magnification 151 Double magnification Mm rm is S talic Reversed character Shaded character Single width character S8lS al m Double width character Double height character Double width amp height character Horizontal magnification 8 3 Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 56 ESCICA Right aligned ESCIrA ESCIN Table 35 TRJST52S POS Printer Control Escape sequence 8 2 3 CheckHealth Specification 1 Internal Level OPOS_CH_INTERNAL Value ResultCode CheckHealth Text Meaning OPOS_SUCCESS Intemal HCheck Successful Connected OPOS E FAILURE Intemal HCheck Error Not connected OPOS E DISABLED HCheck Disabled Device is disabled OPOS E NOTCLAIMED HCheck Exclusive Exclusive error Note When the other device than a POS printer is connected to the specified port Intemal Successful may be stored in CheckHealthText because only READY signal is checked 2 External Level OPOS_CH EXTERNAL Value ResultCode CheckHealthText Meaning OPOS_SUCCESS Extemal HCheck Su
14. Single magnification 151 250 Double magnification 251 350 3 magnification Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 4 351 450 4 magnification 451 550 5 magnification 551 650 6 magnification 651 750 7 magnification 751 800 8 magnification Vertical magnification ESC vC_ Operable signifies the vertical magnification 0 150 Single magnification 151 250 Double magnification 251 350 3 magnification 351 450 4 magnification 451 550 5 magnification 551 650 6 magnification 651 750 7 magnification 751 800 8 magnification Table 62 TRST56S POS Printer Control Escape sequence 8 6 3 CheckHealth Specification 1 Internal Level OPOS_CH_INTERNAL Value ResultCode CheckHealth Text Meaning OPOS_SUCCESS Intemal HCheck Successful Connected OPOS E FAILURE Intemal HCheck Error Not connected OPOS E DISABLED HCheck Disabled Device is disabled OPOS E NOTCLAIMED HCheck Exclusive Exclusive error Note When the other device than a POS printer is connected to the specified port Internal Successful may be stored in CheckHealthText because only READY signal is checked 1 Extemal Level OPOS_CH_EXTERNAL Value ResultCode CheckHealth Text Meaning OPOS_SUCCESS Extemal HCheck Successful Successful completion OPOS E FAILURE Extemal HCheck Error Printer error OPOS E BUSY Extemal HCheck Busy Device busy OPOS E DISABLED HCheck Disable
15. The AC power status power switch status and the battery status are not notified When the sensor function is not provided on the POS terminal Sensor not installed is displayed on the list The CPU temperature the rotation speeds of the CPU fan enclosure fan and HDD fan are not notified When clicking on the Enquiry button the present temperature of the CPU and chip the rotation speed of CPU fan enclosure fan and HDD fan and the present voltages of the CPU 1 5V 2 5V 5V and 12V lines are displayed on the dialog box The unit of measure is C for temperature rom for the rotation speed and mv for the voltage respectively Note that the enclosure fan is not provided Not Have will be displayed When the sensor function is not provided Not Have will be also displayed for the all items Retum code CheckHealthText Meaning Resolution ResultCode OPOS _ SUCCESS Interactive Terminated by the OK Hcheck Successful button OPOS E FAILURE Interactive Hcheck Terminated by the NG Error button OPOS E CLOSED No change Closed Open by the Open method OPOSE E DISABL Hcheck Not Enabled Disabled Change the value of ED the DeviceEnabled property to TRUE Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 167 10 2 5 DirectiO Method Specification DirectlOEvent Event Specification This control supports the following extended functions by using DirectIO method
16. 2 Brief explanation of the service object Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 77 Version version of the service object Port Communication port COM2 Possible set up with a control panel BaudRate rom rate Sib set up with a control panel Country OONDOARWNM O 10 Possible set up with a control panel Table 49 TRST53S POS Printer Control Registry 8 4 5 Precautions and restrictions 1 Properties linked with fonts Two kinds of fonts are supported Font related property will be changed to the following by sending font change escape sequence MapMode PTR_MM_DOTS Dot width xxxLineSpacing xxxLineWidth xxxLineHeight FontA HT A B 34 MapMode PTR_MM_TWIPS 1 1440 of 1 inch gg xxxLineSpacing xxxLineWidth ee FontA MapMode PTR_MM_ENGLISH0 0001 inch T oodinesipacing oaLineWidh vedLineHeight veoCineChars FA SCG a 18 4 Font e a RA MapMode PTR_MM_METRIC 0 01 mm xxxLineSpacing xxxLineWidth xxLineHeight RA a FoB 45 700 OY 64 Table 50 TRST53S Properties linked with fonts 2 About the property to change font and Mapmode lt Write enabled gt xxxLineSpacing is not affected by font but is affected by MapMode and changes The value set on xxxLineChars will be adjusted to the nearest and greater value than the value specified and affect the font Font change will also affect xxxLineHeight value Applicatio
17. 20h 7Eh display will be scrolled by one line Select OK button or NG button by visually checking the result Line Display Interactive Check Health Line Display Image Indicates ANK Code Value ResultCode CheckHealth Text Meaning OPOS_SUCCESS Interactive HCheck Successful Successful OK button was clicked OPOS E FAILURE Interactive HCheck Error Error NG button was clicked OPOS E NOTCLAIMED HCheck Exclusive Exclusive error 54 4 DirectlO Specification Extended specification using DirectlO method is supported 1 IDreading Command 100 pStringlD character string read is retumed The string is 15 bytes string sent by the device Mandatory conditions are Open Claim and DeviceEnabled 2 Unconditional direct output Command 101 pString Display character string Mandatory conditions are Open Claim and DeviceEnabled Direct output is produced unconditionally on the display regardless of running threads Use this output to perform special processing during teletype display or marquee scrolling 3 Screen mode change Command 102 pData Screen mode number Change the screen mode of display line and column dynamically The following are the screen modes selectable for LIUST 53 1 5 x 7 font 8 columns x 42 character display 2 8 x 16 font 3 columns x 32 character display Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 3 3 12 x 24 font 2 columns x 20 character display 5 8 x 16 font 4 c
18. 5 Precautions and restrictions 6 cece eee 160 10 2 POS Power Control PWMGREV2 0 00 cece eee eee eee 162 10241 Models for SUPPOR titi and 162 10 22 Software Configuration sx shen a a bas 162 10 23 FUNCIONS ca 2 aici ta atc crete toe aoe die aca trae Ecsite Saxe ana aia 162 10 24 CheckHealth Specification ooooooocooocorrrorrrnrr 164 10 25 DirectiO Method Specification DirectlOEvent Event Specification 167 10 26 OPOS ROgISIYi cios ss ia eos n 170 10 2 7 Limitations and Precautions 6 6 eee 171 10 2 8 Usageexample ia cose enue id Pe Ieee eae 174 1029 ErorGode lists iceri revar es e bs o e 176 Appendix A Problem of WindowsNT and POS DeviCe 0 oocoococcococo ooo 182 Appendix B List of OPOS Control File Name 0ocooocccoccoocc 183 Appendix C List of OPOS Driver POS Device Driver File Name 194 Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 Table List Table 1 List of Device driveri essene uea a e a a E E a e Sa 13 Table 2 All devices supported by TEC OPOS Control oocoocooocoooooo 14 Table 3 Summary of disks for TEC OPOS Control Kits o ooo ooo 15 Table 4 DRWST Cash Drawer Control functions o o ooooooooo 17 Table 5 List of DRWST Cash Drawer Control Property vall8 17 Table 6 DRWST Cash Drawer Control Registry 0 00 cece eee eee 19 Table 7 LIUST51 Line Display Control functions
19. 84 TRST53S POS Printer Control TRST53S 0 eee eee eee 71 8 4 1 Mod ls for support A sic ee cy aie eae tod tea tenet sateen poled exies 71 8 4 2 EII a sate Na 71 843 CheckHealth Specification 0 2 0 cece cece eens 75 844 OPOS Regist ac os rs lan 76 845 Precautions and resiictionS 2 tenes 77 8 5 TRST56P POS Printer Control TRST56P cece eee eee eee 80 8 5 1 Models for support lt ter svn cs eye whee tee n 80 8 5 2 FUNCIONS teste nis aa 80 853 CheckHealth Specification 02 c cece eee 34 8 5 4 OPOS ASUS ad a ea e e del Ma a 85 8 5 5 Precautions and resiictiOnS ooooocccccrcrrrrrrr rr 86 86 TRST56SPOS Printer Control TRST56S 0 0c cee eee ee 90 8 6 1 Models for support een oweed uaitg tented peda Gra Sead eeeeese oo5 90 8 6 2 FUNCIONS eera a oan te teams aut ma a eee eee 90 86 3 CheckHealth Specification 0 ccc eee eee 04 8 6 4 OROS REUSIY irok a cdo 95 8 6 5 Precautions and restrictions 2 0 2 eee eee eens 96 8 7 DRJST50P POS Printer Control DRUST50P 0 00 cee eee eee 99 8 7 1 Models for support lt 2 oceciet auine vitara add eta 99 8 72 FUNCIONS A RO 99 8 7 3 CheckHealth Specification 0oooooccoocccrrrrrrrrr 103 8 74 OPOS REJSY oe rte pert o inde ae ics 104 8 75 Precautions and resiictionS 2 0 2 eee eens 105 88 DRJST50S POS Printer Control DRIST5O0S ooooooooccocoo 108 8 8 1 Models TOE SUIDOONL nii kaa reis 108
20. An error is issued by print method even if the different sheet is inserted 3 BeginRemoval method After feeding the slip form backward OPOS_SUCCESS is retumed Issuing the method alone makes the mode feed mode and the device waits until the slip form is inserted Follow the correct procedure to issue the method Use the method with EndRemoval method 4 EndRemoval method No visual action is performed OPOS_SUCCESS will be immediately retumed OPOS_EPTR_FORM will not be returned as the device does not support form detection 5 Closing the form orifice The orifice does not close by issuing slip related methods It is automatically closed by issuing print method to a receipt or journal after the slip feed process is completed As stated above be careful to use the slip printer methods because they must be issued in the predetermined sequence Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 165 8 10 DRJST51S POS Printer Control DRJST51S 8 10 1 Models for support DRJST 51 S Serial printer 8 10 2 Functions Joumal printer Receipt printer Slip printer as validation Batch processing Logo print Two color print Stamp Italic print Form cut Reversed character Multiple line feed Single line feed Shaded character Double width character Left right rotation print Inverted print Bar code print Bitmap print Synchronous Asynchronous print Center aligned Right aligned Error report Bold Double height char
21. Command 0st ECON ll O OS Command ETRE DIO GET HARDWA A the hardware information REINFO Table 106 POS Power Control DirectlO Method Command This control supports the following extended notification by using DirectlOEvent event Function Funcion AAA POWER EventNumber Switch Notifies the power switch status Table 107 POS Power Control DirectlOEvent Event Number The constant numbers used by DirectiO method and DirectlOEvent event in this control are defined in the TecPower h provided by TOSHIBA TEC This file may be revised when the module is updated Therefore it is recommended that you should always use the file in accordance with the module Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 168 1 DirectlO Method Specification 1 Retrieving the hardware information Function Retrieves the hardware information Format Parameter Description Command POWER _DIO_GET_HARDWAREINFO PData Information to be retrieved is specified by the ORed following values POWER_DIO_GH_CPUTEMPERATURE Temperature of the CPU POWER _DIO_GH_CHIPTEMPERATURE Temperature of the chip POWER _DIO_GH_CPUFANREVS The rotation speed of the CPU fan POWER _DIO_GH_CHASSISFANREVS The rotation speed of the enclosure fan POWER _DIO_GH_HDDFANREVS The rotation speed of the HDD fan POWER _DIO GH_CPUVOLTAGE CPU voltage POWER _DIO GH_1500MV 1 5V line voltage POWER _DIO_GH_2500MV 2 5V line voltage POWER _DIO_GH_5000MV 5V line voltage PO
22. Font and limit restriction against left and right rotational print Condensed print with font A causes malfunction in left and right rotational print mode Either font A or font B must be specified before printing in the left and right rotational print mode Font cannot be changed while printing Special limit restriction is applied to the left and right rotational printing Single character limit shown below must be observed for proper printing FontA No splitting on the 32nd n single character Font B No splitting on the 46th n single character 32 64 96 will be the limit characters for font A For example 32nd and 33rd could be one double width character which violates the restriction and causes malfunction The above restriction must be taken into consideration for print design 3 Firmware The firmware which does not support page mode may malfunction Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 6l 9 10 On events StatusUpdateEvent occurs corresponding to cover open no paper of TRST 52 It also reports that it has been resumed to nomal status Variety of character sets for countries and the registry Character sets for each country are defined in TRJST 52 The registry Country can accommodate the variety of character sets for each country Characters ranging from 0x20 to 0x7F are used and part of them are allocated tographic characters for each country and application The allocated area is
23. It causes an error at Opening In the execution environment no documents and header files are installed The OPOS Control Object and the OPOS Service Object should be installed 3 2 2 Installation Methods The OPOS Control and the OPOS Driver provide 2 kinds of means to install e Select the one to be installed with the interactive way and install it e Indicate the one to be installed in the initialization file ini and the configured value and install it Silent Installation When the initialization file is used the installation will be performed without users operation The same environment can be installed easily in many POS Terminals without configuration in the Control Panel after installing because all configured values in the OPOS Control are described in the initialization file Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 16 3 23 Interactive Installation For the interactive installation it is possible to select the OPOS Control and the Driver to be installed in the checkbox With the OPOS Driver disk the Drivers described in Table 1 Device drivers can be installed If either of the OCIA scanner driver or TEC serial port driver is to be installed the multi interrupt driver needs to be installed too because these drivers require the multi interrupt driver The following shows the multi interrupt driver and the stack for the OCIA scanner driver and TEC serial port driver OCIA Scan
24. OPOS E DISABLED HCheck Disabled Device is disabled OPOS E NOTCLAIMED HCheck Exclusive Exclusive error Note When the other device than a POS printer is connected to the specified port Intemal Successful may be stored in CheckHealthText because only READY signal is checked Extemal Level OPOS_CH_EXTERNAL Value ResultCode CheckHealth Text Meaning OPOS_SUCCESS Extemal HCheck Successful Successful completion OPOS E FAILURE Extemal HCheck Error Printer error OPOS E BUSY Extemal HCheck Busy Device busy OPOS E DISABLED HCheck Disabled Device is disabled OPOS E NOTCLAIMED HCheck Exclusive Exclusive error 130 Application User s Manual TOSHIBA TEC CORPORATION 3 Interactive Level OPOS_CH_INTERACTIVE Displays the following dialog box to confirm successful printing to the POS printer by clicking each command button Select OK button or NG button by visually checking the result POS Printer Interactive CheckHealth Print H Feed Cut Stamp Printer Status Command Paper NearEnd OK Error The dialog box will not be displayed when the device is operating Value ResultCode CheckHealthText Meaning OPOS_ SUCCESS Interactive HCheck Successful Successful OK button was clicked OPOS E FAILURE Interactive HCheck Error Error NG button was clicked OPOS E BUSY Interactive HCheck Busy Device bus
25. Registry Keeps configuration information as follows HKEY_LOCAL_MACHINEYSOFTWAREYOLEforRetail ServiceOPOS LineDisplay YLIUST51 EX 1 Standard TEC LIUST51 EX S Service C OPOS TEC Liust51 Ex dll Description TEC LIUST 51 Serial Line Display Version 1 2 Port COM COMB BaudRate 9600 Country 0 12 99 1 At LIUST51 Line Display Control though it is LIUST51 Become LIUST51 EX case of an extension Become a useful DeveceName at Open method this value About a content similarly to LIUST51 Line Display Control 5 26 Precautions and restrictions As LIUST51 Line Display Control similarly 5 3 LIUST52 Line Display Control LIUST52 5 3 1 Models for support LIUST 52 53 2 Functions Functions supported Functions not supported Horizontal and vertical marquee scroll Descriptor Device brightness control Display in teletype mode Display time delay Blinking per character device Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 26 Screen Mode 2x 20 4x 20 5x 20 Table 11 LIUST52 Line Display Control functions apy OSS CapHMarquee CapiCharWait CapVMarquee Device Windows p99 DevioeRows DevioeColurmns DeviceDescriptors AA CharacterSetList 850 932 999 1 The value of DeviceRows and DeviceColumns vary depending on the screen mode Table 12 List of LIUST52 Line Display Control Proper
26. TRUE TRUE FALSE TRUE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE 932 850 932 999 FontA Condense FontB 32 by default 32 41 46 24 by default 30 by default 416 by default 32 by default 32 41 46 24 by default 30 by default 9 by default 416 by default 16 Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 54 SplineWdh EA SipMaxLines AN SipSidewaysMaxChars O o SipSidewayMaxLines AO Table 34 List of TRJST52S POS Printer Control Property Value Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 55 Escape sequence operable only when specified EA Form cut ESC HP Operable signifies the percentage to be cut 0 100 Full cut Feed and form cut ESC fP Operable signifies the percentage to be cut 0 100 Full cut RecLinesToPaperCut property shows the number of lines to be fed Therefore the paper will be cut at the next line from the line printed Feed amp form cut ESCIHsP Not operable amp stamp print Bit map print ESC B Operable signifies the bit map number 1 can be specified The bit map can be registered by SetBitmap method Multiple line print ESCHHF Operable signifies the lines to be fed Single line feed ESCi uF Operable signifies the number specified by MapMode Escape sequence operable during printing Escape sequence operable when printing Name
27. X4X5 Xs C D PRINT DATA X1 X2X3 X4X5 X6 C D Specify the print data as above It should be 7 digits 4 Bitmap related methods and bit map print escape sequence SetBitmap which handles bit maps and bit map files handled by PrintBitmap have the restriction to handle only the monochrome Though SetBitmap allows two bit maps to be set by specification this control allows only one As this bit map is cached in the printer itself and is printed by bit map print escape sequence the bit map set by a process will be shared by all other processes opened 5 Notes on escape sequence Escape sequences of form cut bit map print center alignment and right alignment with print methods are only effective after form feed Therefore they must be placed after feed escape sequence or Line Feed 10 to function properly 6 On print method operation TRJST 52 does not start print operation until print data for one line is determined Not all data will be printed unless print method ends with Line Feed 10 7 About one way printing and two way printing TRJST 52 supports only one way printing Therefore JrnLetterQuality and RecLetterQuality are always set to TRUE 8 Restrictions on left and right rotational print 1 Restrictions against escape sequence Escape sequences that do not function in left and right rotation mode e Italic ignored Red character ignored Reversed character ignored Shaded character ignored Form cut ignored Stamp print igno
28. a type of POS connected with chooses it from ST5500 ST5600 ST88 ST90 Possible set up with a control panel 2 DeviceName POS connected with a type of Drawer with chooses it from DRWST50 DRWST52 DRWAP80 Possible set up with a control panel 1 Port POS connected with a Port of Drawer with chooses it from DRW1 DRW2 Possible set up with a control panel 1 Set up for DRWST 51 with DRWST50 DRWST52 for DRWST 53 Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 19 2 Set up for ST6400 6500 6500N with ST5500 Table 6 DRWST Cash Drawer Control Registry 415 Restrictions and precautions 1 ST 5500 ST 5600 DRW Port Though ST 5500 ST 5600 supports two port of DRW1T and DRW2T DRWST Cash Drawer Control does only one Action with DRW1T port no action with DRW2T 2 About relation with Cash Drawer Driver DRWST Cash Drawer Device Driver of Windows NT 2000 must be installed on Windows NT 2000 4 2 DRWST Cash ControlEX DRWEX In order to connect with it for Drawer 2units of extension DRWST Cash Drawer Control For a function quite similarly to as DRWST Cash Drawer Control reference for DRWST Cash Drawer Control 4 21 Models for support As DRWST Cash Drawer Control similarly 422 Functions As DRWST Cash Drawer Control similarly 4 2 3 CheckHealth Specification As DRWST Cash Drawer Control similarly 424 OPOS Registry Keeps configuration information as follows HKEY_LOCAL_MACHIN
29. by a process will be shared by all other processes opened Notes on escape sequence Escape sequences of form cut bit map print center alignment and right alignment with print methods are only effective after form feed Therefore they must be placed after feed escape sequence or Line Feed 10 to function properly On print method operation TRJST 52 does not start print operation until print data for one line is determined Not all data will be printed unless print method ends with Line Feed 10 About one way printing and two way printing TRJST 52 supports only one way printing Therefore JrnLetterQuality and RecLetterQuality are always set to TRUE Restrictions on left and right rotational print Restrictions against escape sequence Escape sequences that do not function in left and right rotation mode e Italic ignored e Red character ignored Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 Reversed character ignored Shaded character ignored Form cut ignored Stamp print ignored e Reverse feed ignored Escape sequences whose operation is not assured Font type specification Multi line feed Centering Right alignment Top logo print Bottom logo print Feed and paper cut Feed and cut and stamp print Unit feed Bit map print Available escape sequences e Single width Double horizontal width Double vertical width Double horizontal and vertical width Vertical scale Horizontal scale Normal Bold 2
30. fonts xxxLineChars change will affect the font The value set on xxxLineChars will be adjusted to the nearest and greater value than the value specified and affect the font Font change will also affect xxxLineHeight value Change of xxxLineHeight will affect the font If xxLineHeight is less than 24 FontB will be effective and otherwise FontA will be effective About PrintBarCode method When the absolute position is specified by Alignment parameter of PrintBarCode method right alignment print is assumed due to the restriction of the printer itself The value specified by Width parameter will be converted into three varieties as shown below Width parameter Less than 1 2 of paper width Less than 3 4 of paper width Moe si JBg Table 96 TPR158P Character size of Width parameter Please print the UPC E barcode with the check digits Not with the leading character 0 for adjustment of transmission digits UPC E BARCODEOX X X3X4Xs Xs C D PRINT DATA X1 X2X3 X4X5 Xe C D Specify the print data as above It should be 7 digits Bit map related methods and bit map print escape sequence SetBitmap which handles bit maps and bit map files handled by PrintBitmap have the restriction to handle only the monochrome Though SetBitmap allows two bit maps to be set by specification this control allows only one As this bit map is cached in the printer itself and is printed by bit map print escape sequence the bit map set by a pr
31. install this disk OPOS Control Installer for the OPOS Control Object and the OPOS Service Object It also installs Header file Control Panel Documents etc other than the CO and the SO It is available both on Windows95 98 NT4 0 and Windows 2000 OPOS Driver Installer for the Device Driver used by the OPOS Control This disk is provided for each POS Terminal and foreach OS Usually the OPOS Driver requires to be installed before implementing the installation Table 3 Summary of disks for TEC OPOS Control Kits 3 2 Installation 3 2 1 Installation Procedure Follow this sequence to install the OPOS Control Kits 1 AXDIST 2 OPOS Driver 3 OPOS Control The AXDIST contains Microsoft s DLL The AXDIST does not require to be installed in any machines with these environments If the OPOS Control is installed in the development environment it is not necessary to install the OPOS Driver The OPOS Driver should be installed in TEC POS Terminals It may cause the PCs inoperable if installed in the normal PCs After having installed the OPOS Driver shut down and start up the machine again The OPOS Control supports the installations in the development environment and the execution environment In the development environment install the header file and the OPOS Control Object ocx which are required to compile a variety of documents and the APs It is not possible to work the AP when itis installed in the development environment
32. notified Remarks The data format of the pString parameter depends on the value of the BinaryConversion property For details refer to the BinaryConversion property described in the Application Programmer s Guide 10 26 OPOS Registry The following configuration information is stored in the registry HKEY LOCAL _MACHINE SOFTWAREYOLEforRetail ServiceOPOS POSPower PWMGREV2 Standard TEC PWMGREV2 Service C OPOS TEC PwmgRev2So dll Description TEC POS POWER MANAGEMENT Version 1 8 File name of the Service Object Brief explanation of the Service Object Version of the Service Object Table 108 POS Power Control Registry Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 yl 10 2 7 Limitations and Precautions 1 For properly using this control To operate this control properly either UPS function or sensor function is required The UPS function supports the shutdown command notification of power break notification of the switch status and notification of the UPS charging status The sensor function supports the notification of the CPU temperature notification of the CPU fan stop retrieving the temperature of the CPU and chip retrieving the rotation speed of the CPU fan enclosure fan and HDD fan retrieving the CPU voltage and retrieving the voltages of 2 5 5V 12V and 1 5V lines To use the UPS function the UPS library UPS driver UPS manager shutdown tool and shutdown mon
33. port Intemal Successful may be stored in CheckHealthText because only READY signal is checked 2 Extemal Level OPOS_CH_EXTERNAL Value ResultCode CheckHealth Text Meaning OPOS_SUCCESS Extemal HCheck Successful Successful completion OPOS E FAILURE Extemal HCheck Error Printer error OPOS E BUSY Extemal HCheck Busy Device busy OPOS E DISABLED HCheck Disabled Device is disabled OPOS E NOTCLAIMED HCheck Exclusive Exclusive error Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 67 3 Interactive Level OPOS CH_INTERACTIVE Displays the following dialog box to confirm successful printing to the POS printer by clicking each command button Select OK button or NG button by visually checking the result POS Printer Interactive Check Health Print H Feed Cut Command m Printer Status Paper End Paper End OK Error The dialog box will not be displayed when the device is operating Value ResultCode CheckHealthText Meaning OPOS_SUCCESS Interactive HCheck Successful Successful OK button was clicked OPOS E FAILURE Interactive HCheck Error Error NG button was clicked OPOS E BUSY Interactive HCheck Busy Device busy OPOS E DISABLED HCheck Disabled Device is disabled OPOS E NOTCLAIMED HCheck Exclusive Exclusive error 83 4 OPOS Registry keeps configuration information as follows HKEY
34. properly 3 On print method operation TRST 56 does not start print operation until print data for one line is determined Not all data will be printed unless print method ends with Line Feed 10 4 About SutatusUpdate event of recoverable error StatusUpdateEvent occurs corresponding to cover open no paper of TRST 56 It also reports that it has been resumed to normal status Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 5 Variety of character sets for countries and the registry Character sets for each country are defined in TRST 56 The registry Country can accommodate the variety of character sets for each country Characters ranging from 0x20 to Ox7F are used and part of them are allocated to graphic characters for each country and application The allocated area is the following twelve characters 0x23 0x24 0x40 0x5B to 0x5E 0x60 0x7B to 0x7E 6 Restrictions on left and right rotational print 1 Restrictions against escape sequence Escape sequences that do not function in left and right rotation mode e Italic ignored Red character ignored Shaded character ignored Form cut ignored Stamp print ignored e Reverse feed ignored Escape sequences whose operation is not assured Font type specification Multi line feed Centering Right alignment Top logo print Bottom logo print Feed and paper cut Feed and cut and stamp print Unit feed Bit map print Available escape sequences e Single width
35. statuses of the enclosure fan and the HDD fan by extending the part of the StatusUpdateEvent event To use this function the sensor function must have been installed CPU fan is rotating PWR_SUE_FAN_ RUNNING CPU fan is not rotating PWR_SUE FAN STOPPED NOTE As the enclosure fan is not provided on the POS terminal this event will not be notified Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 14 10 28 Usage example 1 How to monitor the hardware power status and UPS status notification There are two methods for the application to perform the above functions by using this control Monitoring by the event of the OPOS and monitoring by polling and retrieving the OPOS properties The following diagrams show the sequence of each case lt Monitoring by the event of the OPOS gt AN i cation 65 65 Di ver Nyrnal termneti on Devi cnah ed Property TRLE Status check Qline UPS ALL Nornal termneti on Stat usUpdat eEvent P SUE CALI NE re Status check Zo Gfline US FLL taust eBvert P SLE OFF OFU N Evat occus The power sued y Sn nay d scarti nued i med amp d y The pover nay cut off before performing these processi ng Gfline US ner ed Application User s Manual lt Monitoring by polling and retrieving the OPOS properties gt A i cation Tre pover supd y nay be d scorti nued i med ate y The power nay be cat off bef ore performing these processi ng
36. support intra c 25 5 2 2 ELIICI NS eka a Gaver e ea 25 5 2 3 CheckHealth Specification o ooooooccooccrrrorrrr ee es 25 5 2 4 DirectlO Specification oooooooooooccronrnrr 25 525 OPOS Regist 2s cti a er 25 5 2 6 Precautions and resiictionS 1 0 cece 25 Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 53 LIUST52 Line Display Control LIUST52 o ooooooooooccronn o 25 5 3 1 Models for support acer ket a e oo cdta end 25 5 3 2 SU ele ee ree n ee ere rere eee ee ee eT eT 25 5 3 3 CheckHealth Specification 0 2 cece eee eee eee eens 26 5 3 4 DirectlO Specifcaton s sie estore dere ada 27 5 3 5 OPOS REOISTY r iiae Sore iai ae Ach ea r EEE ET A 29 5 3 6 Precautions and restrictions ccc vs ives asaur aia bees 29 5 4 LIUST53 Line Display Control LIUST53 0 0 0 0 cece eee eee 31 54 1 Mod ls f r SUpport a A No 31 542 EII E NN E ee 31 543 CheckHealth pecification s s cc cece eects 31 5 4 4 DirectlO Specification 0 cece eens 32 545 OPOS Regist 4 acts das 33 54 6 Precautions and resiictionS oooocccocccnncrcrr ron 34 A A A EN 36 6 1 PKBST Keylock Control PKBST oooooooooooccconocnr eee 36 6 1 1 Models for support A NN Ny 36 6 1 2 FUNCIONS a a AAA a 36 6 1 3 CheckHealth Specification 0ooooooccroocrrrrrrrr o 36 6 1 4 OPOS REGIS V cd ac tai tra oa 37 6 1 5 Precautions and resiictionS 2 0 0 cece eee eens 37 7 Magnetic Stripe Reader
37. the following twelve characters 0x23 0x24 0x40 0x5B to 0x5E 0x60 0x7B to 0x7E Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 62 8 3 TRST53P POS Printer Control fTRST53P 8 3 1 Models for support TRST 53 P Parallel printer 8 3 2 Functions Printers supported Printers not supported Slip printer Batch processing Logo print Two color print Bar code print bitmap print Italic print Form cut Reversed character Multiple line feed Single line feed 1 203inch Shaded character Center aligned Right aligned Left right rotation print Bold Double width amp height character Left and right rotational print Inverted print Synchronous Asynchronous print Error report End and NearEnd of receipt form Escape sequences c Table 39 TRST53P POS Printer Control functions Value TEC TRISTS3P Special proper SCSC S S S SCS Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 63 CapRecBold TRUE CapRecDhigh TRUE CapRecDwide TRUE CapRecDwideDhigh TRUE CapRecEmptySenser TRUE CapRecltalic FALSE CapRecLeft90 FALSE CapRecNearEndSensor FALSE CapRecPapercut TRUE CapRecRight90 FALSE CapRecRotate180 TRUE CapRecStamp FALSE CapRecUnderline TRUE CapSlpPresent FALSE CapSlpFullslip FALSE CapSlo2Color FALSE CapSlpBarCode FALSE CapSlpBitmap FALSE CapSloBold FALSE CapSlpDhigh FALSE CapSlpDwide FALSE CapSlpbDwideDhigh FALSE CapSlopEmptySenser FALSE CapSlpltalic FALSE CapSlpLeft90 FALSE CapSlpNerEnd
38. when the scanner is operating Scanner Interactive Check Health A y Value ResultCode CheckHealth Text Meaning Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 146 OPOS_SUCCESS Interactive HCheck Successful Successful End atOK count OPOS E FAILURE Interactive HCheck Error Error End at NG count OPOS E NOTCLAIMED HCheck Exclusive Exclusive error OPOS E DISABLED HCheck Disabled Device is disabled 9 1 4 OPOS Registry keeps configuration information as follows HKEY_LOCAL_MACHINEYSOFTWAREYOL EforRetail ServiceOPOSYScanner YRSSCANNER Standard TEC RSSCANNER Service C OPOS TEC RSscanSO dll Description TEC Serial Scanner Version 42 Port COM1 COM8 BaudRate 1 1200 2400 4800 9600 19200 Character 1 7 8 Parity 1 None Odd Even Stopbit 1 ia 1 5 2 DataFormat 1 o p1 27113 DeviceName HS520RS LS750RS LS120RS TM3001RS DeviceDescription HS 520 Serial Scanner ScannerWriteBusyCheck 1 No DSR ScannerReadBusyCheck 1 No CTS 1 Necessity of that these are as a set up of device to a similar value File name of the service object Brief explanation of the service object version of the service object Port Communication port COM1 COM8 Possible set up with a contro
39. with fonts 0 oooooooooooooo 96 Table 65 TRST56S Character size of Width parameter oo ooo oooooo 97 Table 66 TRST56S Print data of UPC E bar code 1 cece ee 97 Table 67 DRJST50P POS Printer Control functions o oooooooooo 99 Table 68 List of DRJST50P POS Printer Control Property value 101 Table 69 DRJST50P POS Printer Control Escape sequence 005 103 Table 70 DRJST50P POS Printer Control Registry 0 00 e eee ee 105 Table 71 DRJST50P Properties linked with MapMode 00 eee 105 Table 72 DRJST50P CharacterSet Property value 1 0 0 cee ees 106 Table 73 DRJST50S POS Printer Control functions ooooooo 108 Table 74 List of DRJST50S POS Printer Control Property value 110 Table 75 DRJST50S POS Printer Control Escape sequence 005 112 Table 76 DRJST50S POS Printer Control Registry 00 cece eee 114 Table 77 DRJST50S Properties linked with MapMode 0 0c eee ae 114 Table 78 DRJST50S CharacterSet Property value cee 115 Table 79 DRJST51P POS Printer Control functions oo o oooooooo 117 Table 80 List of DRJST51P POS Printer Control Property value 119 Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 Table 81 DRJST51P POS Printer Control Escape Sequence oo o o ooo o 120 Table 82 DRJST51P POS Printer Control Registry 0ooooooooo o 123 Ta
40. 0P POS Printer Control Property value Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 1 Escape sequence operable only when specified Name Data Form cut ESC P Operable signifies the percentage to be cut Except 100 Partial cut 100 Full cut Feed and form cut ESCHP Operable signifies the percentage to be cut Except 100 Partial cut 100 Full cut RecLines ToPaperCut property shows the number of lines to be fed Therefore the paper will be cut at the next line from the line printed Feed amp form cut ESC HsP Operable amp stamp print signifies the percentage to be cut Except 100 Partial cut 100 Full cut Multiple line feed ESCHAF Operable signifies the lines to be fed Single line feed ESCHUF Operable signifies the number specified by MapMode Escape sequence operable during printing Font type specification ESCIfT PAGEO PAGE1 PAGE2 PAGE3 PAGE4 PAGES Escape sequence operable when printing Name Bold Underline talic Red character Reversed character Shaded character Single width character Double width ESC 2C Operable Double eight character ESC 3C Double width amp height ESC 4C operable Print as a double width character character Not Horizontal h Operable magnification signifies the vertical magnification 0 150 Single magnification 151 Double magnification Vertical magnification Center aligned Right aligned ESCA O g
41. 150 Single magnification 151 Double magnification Table 81 DRJST51P POS Printer Control Esca uence Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 8 9 3 CheckHealth Specification 1 Internal Level OPOS_CH_INTERNAL Value ResultCode CheckHealth Text Meaning OPOS_SUCCESS Intemal HCheck Successful Connected OPOS E FAILURE Intemal HCheck Error Not connected OPOS E DISABLED HCheck Disabled Device is disabled i OPOS E NOTCLAIMED HCheck Exclusive Exclusive error ote When the other device than a POS printer is connected to the specified port Intemal Successful may be stored in CheckHealthText because only READY signal is checked 2 External Level OPOS_CH_EXTERNAL Value ResultCode CheckHealth Text Meaning OPOS_SUCCESS Extemal HCheck Successful Successful completion OPOS E FAILURE Extemal HCheck Error Printer error OPOS E BUSY Extemal HCheck Busy Device busy OPOS E DISABLED HCheck Disabled Device is disabled OPOS E NOTCLAIMED HCheck Exclusive Exclusive error 121 Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 12 3 Interactive Level OPOS CH_INTERACTIVE Displays the following dialog box to confirm successful printing to the POS printer by clicking each command button Select OK button or NG button by visually checking the result POS Printer Interactive CheckHealth Command Feed
42. 5 98 TRJST53P95 dll Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 8 On events On Windows95 98 StatusUpdateEvent occurs corresponding to cover open no paper of TRST 53 It also reports that it has been resumed to normal status On WindowsNT StatusUpdateEvent occurs in response to no paper status of TRST 58 and does not occur for cover open Nor does CoverOpen property change When ResultCode of ErrorEvent is OPOS_OPOS_EXTENDED on both Windows95 98 and WindowsNT the following value will be set to ResultCodeExtended OPOS EPTR_COVER_OPEN OPOS_EPTR_REC_ EMPTY Variety of character sets for countries and the registry Character sets for each country are defined in TRST 53 The registry Country can accommodate the variety of character sets for each country Characters ranging from 0x20 to 0x7F are used and part of them are allocated to graphic characters for each country and application The allocated area is the following twelve characters 0x23 0x24 0x40 0x5B to 0x5E 0x60 0x7B to 0x7E See TRST 53 H W Reference Manual for detail RAA 00442 Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 71 8 4 TRST53S POS Printer Control TRST53S 8 4 1 Models for support TRST 53 S Serial printer 84 2 Functions Printers supported Printers not supported Receipt printer Joumal printer A Spee Batch processing Logo print Two color print Bar code print bitmap print Italic print
43. 88 2 FUNCIONS pcs is 108 8 8 3 CheckHealth Specification ceda 112 8 8 4 OPOS REg S Y cocida Vereen EEA E ees 113 8 8 5 Precautions and restriclOnS oooooccoccccncrcrcr rr 114 89 DRJST51P POS Printer Control DRJST51P 2 0c eee eee 117 8 9 1 Models for support cvs to 117 8 9 2 FUNCIONS do a Ea 117 893 CheckHealth Specification 0oooccooccorronrrrrra aa 121 8 9 4 OPOS ASI it O eee eo AA E a eats oes 122 Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 8 9 5 Precautions and restrictions 1 0 eee eee eee eee 1B 8 10 DRJST51S POS Printer Control DRJST51S 2 0 cece eee 126 8 10 1 Models for support ic ts 126 9102 FUNCIONS A etree at uel cad E 126 8 10 3 CheckHealth Specification oooocooooororrororarr os 150 810 4 POS REJSY lt Soc eke quale shod Galak dla 131 8 105 Precautions and resiictionS eee eens 12 8 11 ST 90 TPR158P POS Printer Control TPR158P eee eee ee 15 8 11 1 Models for support coi A ute Settee 135 8112 FUNCIONS A OS e 135 8 113 CheckHealth Specification o0ooocooocoorronrrrr 139 8 11 4 OPOS Registry osccionicis ec ri es 140 8 115 Precautions and restictionS eens 141 9 Scanner Control Bar code reader 1 2 0 cece 145 9 1 RS Scanner Control RSSCANNER 0 000 eee eee 145 9 1 1 Models for support sssssssasrrrrsrsarsrrrarrrrrrrrrrrnrrrrrne 145 9 1 2 FICTIONS E B ie tance Maeda St
44. Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 1 TEC OPOS CONTROL Application User s Manual APG1 2 10 1 4 2004 TOSHIBA TEC CORPORATION Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 2 This specification describes the matters that require attention and the methods of Application Programming to utilize TEC OPOS Control It is assumed that the reader already possesses some knowledge of e General features of the POS peripherals e General features of TEC POS Terminal and TEC POS peripherals e Terms and Architecture for the OLE Control and the OLE Automation e The OLE for Retail POS abbr OPOS and the Application Programmer s Guide abbr APG Notes e Noparts of this document may be reproduced in any form e Any changes to the information contained herein may be made at any time without notice MicrosoftWindows and Windows NT 2000 XP are registered trademarks of Microsoft Corporation in the United State and other countries Windows is short for Microsoft Windows Operating System Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 Contens Le Foryo r ION oia he eet RS a hte learns N S 11 2 General for TEC OPOS Control 02 2 0 0000 tes 12 2 1 General forthe structure y ct O e 12 22 O ried Sade a a e a ate E tnats un nakde yy 12 Zo OPOS COmol CO SO aio td dd ER AEEA 13 3 TEC OPOS Control KiS arere per he i eae br ha peor rd 15 dl Kite MC o ce 15 OZ M
45. C E bar code oooocooooocoooo o 69 Table 46 TRST53S POS Printer Control functions ooooooooooooo o 71 Table 47 List of TRST53S POS Printer Control Property valle 73 Table 48 TRST53S POS Printer Control Escape sequence 0 eee 75 Table 49 TRST53S POS Printer Control Registry 0oo oooooooomooo 71 Table 50 TRST53S Properties linked with fonts 0 oooooooooooooo 77 Table 51 TRST53S Character size of Width parameter oo ooooooooo 78 Table 52 TRST53S Print data of UPC E bar code ocooocoooococooo oo 78 Table 53 TRST56P POS Printer Control functions o ooooooooooo o o 80 Table 54 List of TRST56P POS Printer Control Property valle 82 Table 55 TRST56P POS Printer Control Escape Sequence o ooooooo oo 8 amp 4 Table 56 TRST56P POS Printer Control Registry 0 0 0 cece eee eee 86 Table 57 TRST56P Properties linked with fonts or MapMode 87 Table 58 TRST56P Character size of Width parameter 00 eee 87 Table 59 TRST56P Print data of UPC E bar code ccc eee 87 Table 60 TRST56S POS Printer Control functions o oooooooooooo o 90 Table 61 List of TRST56S POS Printer Control Property valle 92 Table 62 TRST56S POS Printer Control Escape SequenCe o ocooooooooo 4 Table 63 TRST56S POS Printer Control Registry 0oo ooocooooooooo 96 Table 64 TRST56S Properties linked
46. CapRecRight90 FALSE CapRecRotate180 TRUE CapRecStamp TRUE CapRecUnderline FALSE CapSlpPresent TRUE CapSIpFullslip TRUE CapSlp2Color FALSE CapSlpBarCode FALSE CapSloBitmap TRUE CapSloBold FALSE CapSipDhigh FALSE CapSloDwide TRUE CapSlpDwideDhigh FALSE CapSlpEmptySenser FALSE CapSlpltalic FALSE CapSlpLeft90 FALSE CapSlpNerEndSenser FALSE CapSIpRight90 FALSE CapSloRotate180 TRUE CapSloUnderline FALSE CharacterSet 190 CharacterSetList 190 191 192 193 194 195 FontTypefaceList PAGEO PAGE1 PAGE2 PAGES PAGE4 PAGE5 JmLineChars JmLineCharsList 33 JmLineHeight JmLineSpacing 12 JmLineWidth 297 RecLineChars RecLineCharsList 33 RecLineHeight RecLineSpacing 12 RecLinesToPaperCut 13 RecLineWidth 297 RecSidewaysMaxChars RecSidewaysMaxLines SlpBarCodeRotationList SlpLineChars SlpLineCharsList SloLineHeght SloLinesNearEndToEnd SloLineSpacing SlpLineWidth Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 110 SlpMaxLines O SipSidewaysMaxChars MO SipSidewayMaxLines BOs es Table 74 List of DRJST50S POS Printer Control Property value Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 111 Escape sequence operable only when specified Name Data Form cut ESC HP Operable signifies the percentage to be cut Except 100 Partial cut 100 Full cut Feed and form cut ESC HP Operable signifies the percentage to be cut Except 100 Partial c
47. Configuration This control consists of the following software Grtrd Gjet 0 AG18 PPR AX Servi ce Gj ect SO APG18 9 PWES DLL UPS Library Sensor Library UPS DLL SENSOR DLL NOTE These are objects which comprise this control 10 23 Functions Shutdown command Collection and submission of statistics Power failure notification Statistics reset UPS charge status notification Statistics change CPU temperature waming Quick battery charge mode CPU fan stop waming Notification of an enforced shutdown by the OS Notification of start of shutdown Switch status change notification Retrieving the CPU temperature and chip temperature Retrieving the rotation speed of the CPU fan enclosure fan and HDD fan Retrieving the CPU voltage Retrieving the actual voltage of 2 5V 5V 12V and 1 5V lines Table 104 POS Power Control Functions Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 163 Properties items only defined Common properties ControlObjectDescription ControlObjectVersion ServiceObjectDescription ServiceObjeciVersion DeviceDescription DeviceName CapPowerReporting CapSiatisticsReporting CapUpdateStatistics Exclusive properties CapFanAlarm CapHeatAlarm CapQuickCharge CapShutdownPOS CapUPSChargeState EnforcedShutdownDelay Time PowerFailDelayTime QuickChargeMode QuickChargeTime 1 by the device are listed Value TEC OPOS POS Power Control Object 1008000
48. Cut Stamp Print H Printer Status Paper NearEnd OK Error The dialog box will not be displayed when the device is operating Value ResultCode OPOS_SUCCESS OPOS E FAILURE OPOS_E BUSY OPOS E DISABLED OPOS E NOTCLAIMED 89 4 OPOS Registry CheckHealth Text Meaning Interactive HCheck Successful Successful OK button was clicked Interactive HCheck Error Error NG button was clicked Interactive HCheck Busy Device busy HCheck Disabled Device is disabled HCheck Exclusive Exclusive error keeps configuration information as follows HKEY_LOCAL_MACHINE SOFTWARE OLEforRetai ServiceOPOS POSPrinter DRJST51P Standard Service Description Version Port DeviceName Override OnLineSW TimeoutConstant TimeoutMultiplier Country TEC DRJST51 P C OPOS TEC DRJST51P95 dll TEC DRJST 51 Parallel POS Printer 4 2 LPT1 LPT2 DRJST51P Off On Off On q g US France Germany UK Denmark 1 Sweden Italy Spain Japan Norway Denmark 2 Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 IB File name of the service object Brief explanation of the service object version of the service object Port Communication port LPT1 LPT2 Possible set up with a control pane
49. Double horizontal width Double vertical width Double horizontal and vertical width Vertical scale Horizontal scale Normal Bold Reversed character 1 Font and limit restriction against left and right rotational print Either font A or font B must be specified before printing in the left and right rotational print mode Font cannot be changed while printing Special limit restriction is applied to the left and right rotational printing Single character limit shown below must be observed for proper printing FontA No splitting on the 78th n single character Font B No splitting on the 104th n single character 78 156 234 will be the limit characters for font A For example 78th and 79th could be one double width character which violates the restriction and causes malfunction The above restriction must be taken into consideration for print design Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 99 8 7 DRJST50P POS Printer Control DRJST50P 8 7 1 Models for support DRJST 50 P Parallel printer 8 7 2 Functions Receipt printer Journal printer Slip printer Batch processing Logo print Center aligned Right aligned Form cut Bar code print Bitmap print Multiple line feed Single line feed Bold Underline Double width character Double height character Inverted print Two color print Synchronous Asynchronous print Italic print Bitmap print Slip only Reversed character Stamp Shaded character Es
50. E SOFTWAREYOLEforRetail ServiceOPOS CashDrawer YDRWST Standard TEC DRAWER Service C OPOS TEC Dmso dll Description TEC DRWST Cash Drawer Version 4 2 POSType ST5500 ST5600 ST88 ST90 DeviceName DRWST50 DRWST52 DRWAP80 Port DRW1 DRW2 File name of the service object Brief explanation of the service object version of the service object POSType Drawer with a type of POS connected with chooses it from ST5500 ST5600 ST88 ST90 Possible set up with a control panel 2 DeviceName POS connected with a type of Drawer with chooses it from DRWST50 DRWST52 DRWAP80 Possible set up wi l Port POS connected with a Port of Drawer with chooses it from DRW1 DRW2 Possible set up with a control panel Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 1 Set up for DRWST 51 with DRWST50 DRWST52 for DRWST 53 2 Set up for ST6400 6500 with ST5500 About a content similarly to DRWST Cash Drawer Control 425 Precautions and restrictions As DRWST Cash Drawer Control similarly Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 5 Line Display 5 1 LIUST51 Line Display Control LIUST517 5 1 1 Models for support LIUST 51 512 Functions Functions supported Functions not supported Horizontal and Vertical marquee scroll Blinking per character device Descriptor light on off and descriptor bl
51. E NOTCLAIMED HCheck Exclusive Exclusive error Note When the other device than a POS printer is connected to the specified port Intemal Successful may be stored in CheckHealthText because only READY signal is checked 2 Extemal Level OPOS_CH_EXTERNAL Value ResultCode CheckHealth Text Meaning OPOS_SUCCESS Extemal HCheck Successful Successful completion OPOS E FAILURE Extemal HCheck Error Printer error OPOS E BUSY Extemal HCheck Busy Device busy OPOS E DISABLED HCheck Disabled Device is disabled OPOS E NOTCLAIMED HCheck Exclusive Exclusive error Application User s Manual TOSHIBA TEC CORPORATION 3 Interactive Leve OPOS_CH_INTERACTIVE EAA 01376 85 Displays the following dialog box to confirm successful printing to the POS printer by clicking each command button Select OK button or NG button by visually checking the result POS Printer Interactive Check Health Command Print H Feed Cut m Printer Status Paper End Paper End OK Error The dialog box will not be displayed when the device is operating Value ResultCode CheckHealth Text Meaning OPOS_SUCCESS Interactive HCheck Successful Successful OK button was clicked OPOS E FAILURE Interactive HCheck Error Error NG button was clicked OPOS E BUSY Interactive HCheck Busy Device busy OPOS E DISABLED HCheck Disabled Device is disabl
52. EAA 01376 15 8 11 ST 90 TPR158P POS Printer Control TPR158P 8 11 1 Models for support ST 90 TPR158P 8 11 2 Functions Printers supported Printers not supported Joumal printer Batch processing Logo print Two color print Bar code print bitmap print Italic print Form cut Reversed character Multiple line feed Single line feed Shaded character Center aligned Right aligned Left right rotation print Bold Double width amp height character Inverted print Left and right rotational print Synchronous Asynchronous print Error report Escape sequences c Left and right rotational print is possible only when the firmware supports page mode Table 91 TPR158P POS Printer Control functions Special property SSS Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 16 CapRecDhigh CapRecDwide TRUE CapRecDwideDhigh TRUE CapRecEmptySenser TRUE CapRecltalic FALSE CapRecLeft90 FALSE CapRecNearEndSensor FALSE CapRecPapercut TRUE CapRecRight90 TRUE CapRecRotate180 TRUE CapRecStamp FALSE CapRecUnderline TRUE CapSloPresent FALSE CapSlpFullslip FALSE CapSlp2Color FALSE CapSlbBarCode FALSE CapSlpBitmap FALSE CapSloBold FALSE CapSloDhigh FALSE CapSlpDwide FALSE CapSlpbDwideDhigh FALSE CapSlpEmptySenser FALSE CapSlpltalic FALSE CapSlpLeft90 FALSE CapSlpNerEndSenser FALSE CapSIpRight90 FALSE CapSloRotate180 FALSE CapSloUnderline FALSE CharacterSet 932 CharacterSetList 850 932 999 FontT ypefaceL
53. EAA 01376 190 ESA code ResultCodeExtended Meaning Resolution ieee nn eco UpdateStatis Tics OPOS E ILLEGAL When the This function is CapStatisticsReporting available property or CapUpdate Statistics property is FALSE this function is not supported Method fees code ResultCodeExtended Meaning Resolution fees ShutdownPOS OPOS_SUCCESS o Normally terminated Wee a eee srl OPOS E CLOSED UTE Open by the Open method OPOS E DISABLED OPOS E DISABLED Disabled Change the DeviceEnabled property to TRUE OPOS E ILLEGAL OPOS E ILLEGAL Not supported This function is not available OPOS E TIMEOUT OPOS E TIMEOUT A shutdown could not be Release the exclusive executed as other process access control by the retains the exclusive access Release ReleaseDevice method or Close method OPOS E FAILURE OPOS E FAILURE An execution of a shutdown Install the driver and service failed required for this control Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 181 5 Result of the processing at the properties setting Result of the processing is notified by using the ResultCode and ResultCodeExtended properties Method Retum code ResultCodeExtended Meaning Resolution ResultCode PowerNotify OPOS_SUCCESS OPOS E CLOSED OPOS E ILLEGAL DeviceEnabled OPOS_SUCCESS OPOS E CLOSED OPOS E ILLEGAL OPOS E NOHARDWAR E Other properties OPOS_SUCCESS OPOS E CLOSED OPOS E ILLEGAL Nomalyteminated 7 Open b
54. Form cut Reversed character Multiple line feed Single line feed 1 203inch Shaded character Center aligned Right aligned Left right rotation print Bold Double width amp height character Left and right rotational print Inverted print Synchronous Asynchronous print Error report End and NearEnd of receipt form Escape sequences c Table 46 TRST53S POS Printer Control functions Special property SS Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 72 CapRecDhigh TRUE CapRecDwide TRUE CapRecDwideDhigh TRUE CapRecEmptySenser FALSE CapRecltalic FALSE CapRecLeft90 FALSE CapRecNearEndSensor FALSE CapRecPapercut TRUE CapRecRight90 FALSE CapRecRotate180 TRUE CapRecStamp FALSE CapRecUnderline TRUE CapSlpPresent FALSE CapSlpFullslip FALSE CapSlo2Color FALSE CapSloBarCode FALSE CapSlpBitmap FALSE CapSlpBold FALSE CapSlpDhigh FALSE CapSlpDwide FALSE CapSlbDwideDhigh FALSE CapSlpEmptySenser FALSE CapSlpltalic FALSE CapSipLeft90 FALSE CapSloNerEndSenser FALSE CapSlpRight90 FALSE CapSlpRotate180 FALSE CapSlpUnderline FALSE CharacterSet 932 CharacterSetList 850 932 999 FontTypefaceList FontA FontB JmLineChars JrnLineCharsList JmLineHeight JmLineSpacing JmLineWidth RecLineChars 48 by default RecLineCharsList 48 64 RecLineHeight 24 by default RecLineSpacing 34 by default RecLinesToPaperCut 3 by default RecLineWidth 576 by default RecSidewaysMaxChars RecSidewaysMaxLines SlpBa
55. IDreading Command 100 pStringlD character string read is retumed The string is 15 bytes string sent by the device Mandatory conditions are Open Claim and DeviceEnabled 2 Unconditional direct output Command 101 pString Display character string Mandatory conditions are Open Claim and DeviceEnabled Direct output is produced unconditionally on the display regardless of running threads Use this output to perform special processing during teletype display or marquee scrolling 3 Screen mode change Command 102 pData Screen mode number Change the screen mode of display line and column dynamically The following are the screen modes selectable for LIUST 52 6 5x6font 4columns x 20 character display 7 5x6font 5columns x 20 character display 8 8x16font 2columns x 20 character display OPOS E ILLEGAL error occurs during teletype display or marquee scrolling Open is the only mandatory condition Old windows are all deleted when restructured Window No 0 becomes void Brightness and country codes will be kept Old screen is cleared and the new device screen is redisplayed OAN Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 28 4 Country code change Command 103 pData Country code Mandatory conditions are Open Claim and DeviceEnabled Country codes are same as those specified by escape characters 0 USA France Germany Great Britain Denmark 1 Sweden Italy Spain 1 Japan Norway 10 Den
56. Italy Spain Japan Norway Latin Korea Denmark 1 Sweden Denmark 2 Spain 2 File name of the service object Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 96 Brief explanation of the service object version of the service object Port Communication port COM2 Possible set up with a control panel BaudRate nore rate carn set up with a control panel Possible set up with a control panel Table 63 TRST56S POS Printer Control Registry 8 6 5 Precautions and restrictions 1 Properties linked with fonts Two kinds of fonts are supported Font related property will be changed to the following by sending font change escape sequence PaperWidthMode 0 resize II E e Table 64 TRST56S Properties linked with fonts 1 About the property to change font and Mapmode lt Write enabled gt Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 97 xxxLineSpacing is not affected by font but is affected by MapMode and changes The value set on xxxLineChars will be adjusted to the nearest and greater value than the value specified and affect the font xxxLineHeight is not affected by font lt Read only gt xxxLineWidth is not affected by font but is affected by MapMode and changes 2 About PrintBarCode method When the absolute position is specified by Alignment parameter of PrintBarCode method right alignment print is assumed due to
57. OM2 BaudRate 9600 Override Off On OnLineSW Off On TimeoutConstant O TimeoutMultiplier g Country US France Germany UK Denmark 1 Sweden Italy Spain Japan Norway Denmark 2 File name of the service object Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 58 Brief explanation of the service object version of the service object Port Communication port COM2 Possible set up with a control panel BaudRate nore rate Rae set up with a control panel OMONDOBR WP Country 10 Possible set up with a control panel Table 36 TRJIST52S POS Printer Control Registry 8 25 Precautions and restrictions 1 Properties linked with fonts Three kinds of fonts are supported Font related property will be changed to the following by sending font change escape sequence Changes will be reflected on both the receipt amp the journal MapMode PTR_MM _DOTS Dot width exLineHeight oaLineChars MapMode PTR_MM_TWIPS 1 1440 of 1 inch gt miras FmB nB 4 MapMode PTR_MM_ENGLISH 0 0001 inch a ineeight oaLineChars MapMode PTR_MM_METRIC 0 01 mm atea Condense A Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 59 8 1 200 Table 37 TRJST52S Properties linked with fonts Writable properties that affect fonts
58. OPOS E DISABLED HCheck Disabled Device is disabled OPOS E NOTCLAIMED HCheck Exclusive Exclusive error 8 8 4 OPOS Registry keeps configuration information as follows HKEY_ LOCAL _MACHINE YSOFTWAREYOLEforRetaiServiceOPOS POSPrinter YDRJST50S Standard TEC DRJST50 S Service CYOPOSYTECYDRIS T50S dll Description TEC DRJST 50 S Serial POS Printer Version 42 Port COM COM2 COM8 BaudRate 9600 DeviceName DRJST50S OnLineSW Off On TimeoutConstant 0 TimeoutMultiplier g Country US France Germany UK Denmark 1 Sweden Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 14 Italy Spain Japan Norway Denmark 2 Port Communication port COM COM2 COM8 Possible set up with a control panel BaudRate Baud rate 9600 Possible set up with a control panel DeviceName Connection Device DRJST50S Possible set up with a control panel Table 76 DRJST50S POS Printer Control Registry 8 8 5 Precautions and restrictions 1 Properties linked with MapMode As MapMode change affects the unit of length properties will be changed accordingly All the properties are constants and not to be changed MapMode PTR_MM_DOTS Dot width LineSpacin SjoLineWiath R J LineWiat 693 XxxLineHeight 3 E z apMode PTR_MM_TWIPS 1 1440 o
59. PCE E E K Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 48 B 1 AED UPC D1 LAA A UPC D2 UPC D3 UPC D4 UPC D5 2 of 5 Standard 2 of 5 Interleaved CODABAR NW 7 CODE39 CODE93 CODE128 ISBN CODE OCR B Common magazine code OCR B 1 TM3001 Scanner device distinguishes EAN 8 and JAN 8 49 Flag number character treat it as a case JAN Table 99 ScanData Pro bol character and Device For digit number Two digits bytes are used to show the length of bar code data Note that the digit information is omitted for UPC and EAN A digit number omits ISBN case of a common magazine code also Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 10 For bar code data indicate for data of a that oneself Differ for format of Bar code data at HS520 LS750RS LS120RS system device and TM3001 system device Not Control to do a compilation in data format As following data format as define at device In case that change a set up of device Not format of the next table and become it Object that the following format acts at default value of device Barcodesystem Barcode data __ _ _ UPC A SXiXoXaXuXsXoX7Xe Xy X100 D 12 Digit C D UPC E OX XoXoXaXeXe EAN 13 Y1 Y2 XXX XXX XX X X oC D 7 Digit C D 13 Digit C D EAN 8 Y YX XXXXCID 8 Digit C D UPC EAN with SXiXoXeXiXeXeX7Xe Xy X100 D XaXoXeXaXe SPPLEMENTAL CODE 2of5Standard No start stop codes 2ofdinterleaved No
60. POS Printer Control Property value Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 19 Escape sequence operable only when II Form cut ESC P omw O signifies the percentage to be cut 0 100 Full cut Feed and form cut ESC fP Operable signifies the percentage to be cut 0 100 Full cut ReclinesToPaperCut property shows the number of lines to be fed Therefore the paper will be cut at the next line from the line printed Feed amp form cut ESCHHsP Operable amp stamp print signifies the percentage to be cut 0 100 Full cut Paper is fed so that the stamp and printing data do not overlap And the cut position is adjusted between printing data and the stamp signifies the lines to be fed Single line feed ESC uF Operable signifies the number specified by MapMode Reverse feed print ESCH rF Not operable Escape sequence operable during A PAGES PAGES PAGE7 PAGES Escape sequence operable when A A Horizontal Operable magnification signifies the vertical magnification 0 150 Single magnification 151 Double magnification Table 87 DRJST51S POS Printer Control Esca uence Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 8 103 CheckHealth Specification 1 Internal Level OPOS_CH_INTERNAL Value ResultCode CheckHealthText Meaning OPOS_SUCCESS Intemal HCheck Successful Connected OPOS E FAILURE Intemal HCheck Error Not connected
61. Pack then renewal for Keyboard driver and serial Port driver Cptool exe rewrites i8042prt sys kbdclass sys serial sys file for POS Driver use Return to driver for POS use at cptool exe in case that install Service Pack after installing OPOS Driver
62. SE are thrown away by a control 3 About decode of a bar code Property can divide it to the case of TRUE data ScanData Type property and ScanDataLabel Property that at input from scanner For this function premise of that scanner is a factory release set up state Case of a state except this aforesaid 2 property can t set up correct data Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 151 9 2 RS ScannerEx Control RSSCANNER EX In order to connect with it for RS Scanner 2units of extension RS Scanner Control For a function quite similarly to as RS Scanner Control reference for RS Scanner Control 9 2 1 Models for support As RS Scanner Control similarly 9 2 2 Functions As RS Scanner Control similarly 9 2 3 CheckHealth Specification As RS Scanner Control similarly 9 24 OPOS Registry Keeps configuration information as follows HKEY_LOCAL_MACHINE SOFTWAREY OLEforRetail ServiceOPOS Scanner RSSCANNER EX Standard TEC RSSCANNER EX Service C OPOS TEC RSscanEX dll Description TEC Serial Scanner Version 4 2 Port COM1 COM8 BaudRate 1 1200 2400 4800 9600 19200 Character 1 7 8 Parity 1 None Odd Even Stopbit 1 q1 a 2 DataFormat 1 o a 2 3 DeviceName HS520RS LS750RS LS120RS TM3001RS DeviceDescription HS 520 Serial Scanner
63. Senser FALSE CapSIpRight90 FALSE CapSloRotate180 FALSE CapSlpUnderline FALSE CharacterSet 932 CharacterSetL ist 850 932 999 FontTypefaceList FontA FontB JmLineChars JmLineCharsList JmLineHeight JmLineSpacing JmLineWidth RecLineChars 48 by default RecLineCharsList 48 64 RecLineHeight 24 by default RecLineSpacing 34 by default RecLinesToPaperCut 3by default RecLineWidth 576 by default RecSidewaysMaxChars RecSidewaysMaxLines SlpBarCodeRotationList SlpLineChars SlpLineCharsList SloLineHeght SlpLinesNearEndToEnd SlpLineSpacing SlpLineWidth Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 64 Spas E SjpSidewaysVaxChars Oe A SpSidewayMaxLines wo o oooO Table 40 List of TRST53P POS Printer Control Property value Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 65 Escape sequence operable only when specified Form cut ESC P Operable signifies the percentage to be cut Except 100 Partial cut 100 Full cut Feed and form cut ESC fP Operable signifies the percentage to be cut Except 100 Partial cut 100 Full cut RecLines ToPaperCut property shows the number of lines to be fed Therefore the paper will be cut at the next line from the line printed Feed amp form cut ESC sP Not operable amp stamp print Bit map print ESC B Operable signifies the bit map number 1 canbe specified The bit map can be registered by SetBitmap m
64. T MSR Control functions AE TA Table 25 List of MCRST MSR Control Property value 7 1 3 CheckHealth Specification 1 Intemal Level OPOS_CH_INTERNAL Value ResultCode CheckHealthText Meaning OPOS E ILLEGAL Intemal HCheck lllegal Not support 2 Extemal Level OPOS_CH_EXTERNAL Value ResultCode CheckHealthText Meaning OPOS_SUCCESS Extemal HCheck Successful Successful completion OPOS E NOHARDWARE Extemal HCheck Not Support Not support OPOS_E BUSY Extemal HCheck Busy Device busy OPOS E NOTCLAIMED HCheck Exclusive Exclusive error 3 Interactive Leve OPOS_CH_INTERACTIVE Displays the following dialog box Clicking Enables Cards button will start reading cards which then will be checked and its result will be stored to CheckHealth Text As the card reader becomes disabled for every input Clicking Enables Cards button is required to continue reading The dialog box will not be displayed when the device is operating Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 40 MSR Interactive Check Health Reading cards is disabled RESULT Traki 0 Track eee Tracks Enable MSR message description Strin Description Reading card is disabled Reading card is disabled by default Reading card becomes disabled for every input Read Card Reading card is enabled Missed enabling reading card Failed to enable reading card Track Result message descript
65. T50P POS Printer Control Registry Precautions and restrictions Properties linked with MapMode As MapMode change affects the unit of length properties will be changed accordingly Allthe properties are constants and not to be changed XxxLineSpacing SlpLineWidh R J LineWidth XxxLineHeight z apMode PTR_MM_TWIPS 1 1440 of 1 inch XxxLineSpacing lpLineWidth R J LineWidth XxxLineHeight 239 628 265 179 io MapMode PTR_MM_ENGLISH0 0001 inch XxxLineSpacing SlpLineWidth R J LineWidih XxxLineHeight 166 MapMode PTR_MM_METRIC 0 01 mm XxxLineSpacing SlpLineWidth R J LineWidth XxxLineHeight 10970 4701 Table 71 DRJST50P Properties linked with MapMode Notes on escape sequence The escape sequence of form cut only works after feed if it is set in the print method Therefore it must be set after feed escape sequence or Line Feed 10 to properly operate Double height and double width escape sequence will be processed as double width sequence because the double height attribute is not supported Double height escape sequence is processed as a normal character because double Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 106 height attribute is not supported On print method operation DRJST 50 does not start print operation until print data for one line is determined Not all data will be printed unless print method ends with Line Feed 10 On events StatusUpdate event c
66. UCCESS Extemal HCheck Successful Successful completion OPOS E FAILURE Extemal HCheck Error Printer error OPOS E BUSY Extemal HCheck Busy Device busy OPOS E DISABLED HCheck Disabled Device is disabled OPOS E NOTCLAIMED HCheck Exclusive Exclusive error Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 140 3 Interactive Level OPOS_CH_INTERACTIVE Displays the following dialog box to confirm successful printing to the POS printer by clicking each command button Select OK button or NG button by visually checking the result POS Printer Interactive Check Health Command Print ASCII Code Feed Cut Print H Printer Status Paper End Error The dialog box will not be displayed when the device is operating Value ResultCode CheckHealth Text Meaning OPOS_SUCCESS Interactive HCheck Successful Successful OK button was clicked OPOS E FAILURE Interactive HCheck Error Error NG button was clicked OPOS E BUSY Interactive HCheck Busy Device busy OPOS E DISABLED HCheck Disabled Device is disabled OPOS E NOTCLAIMED HCheck Exclusive Exclusive error 8 11 4 OPOS Registry keeps configuration information as follows HKEY_LOCAL_MACHINE YSOFTWAREYOLEforRetaiServiceOPOS POSPrinter TPR158P Standard TEC TPR158 P Service C OPOS TEC TPR158P dll Description TEC TPR 158 Parallel POS P
67. User s Manual TOSHIBA TEC CORPORATION EAA 01376 A UE E ACHIRE ROF TARET E Ra ANEREN Standard TEC LIUST53 S Service C OPOS TEC Liust53 dll Description LIUST 5 Line Display Version 4 2 Port COM COM8 BaudRate 9600 Country 0 14 99 100 ScreenMode PUR SD Communication port COM COM8 Possible set up with a control panel 9600 Country Code Characters ranging from 0x20 to 0x7F are used and part of them are allocated to graphic characters for each country and application Character sets for each country are defined USA France Germany Great Britain Denmark 1 0 1 2 3 4 5 6 7 8 9 Latin America East Europe IceLand Japan 2 100 Japan Shift IS Possible set up with a control panel Screen mode Change the screen mode of display line and column 1 5 x 7 font 8 columns x 42 character display 2 8x 16 font 3 columns x 32 character display 3 12x 24 font2 columns x 20 character display 5 8x 16 font 4 columns x 32 character display Possible set up with a control panel Table 18 LIUST53 Line Display Control Registry 5 4 6 Precautions and restrictions 1 percentage of the brightness and the brightness of physical device DeviceBrightness property value n Brightness of LIUST 52 physical device aa ee OE ee 0 A 316 1 32 Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 3 81 100 Table 19 Brightness o
68. VGAmode basevideo sos Case for serial mouse at COM1 of a use boot loader timeout 5 default multi 0 disk 0 rdisk 0 partition 1 WINNT operating systems multi O disk O rdisk 0 partition4WINNT WindowsNT Workstation Version 4 00 NOSERIALMICE COM2 3 4 multi O disk 0 rdisk 0 partition 1 WINNT WindowsNT Workstation Version 4 00 VGAmode basevideo sos NOSERIALMICE COM COM y z C Prohibition of a detection of serial mouse to COM port specified In case that COM port didn t specify it and specifies a NOSERIAL switch prohibition of all COM port detections Reference data System construction of BackOffice WindowsNT system management Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 Appendix B List of OPOS Control File Name Control Object Service Object TRJST52P POS Printer TRJIST52P dll WindowsNT A TRJST52P95 dll Windows95 98 TRST53P POS Printer TRJST53P dll WindowsNT PRA nd TRJST53P95 dll Windows95 98 TRST56P POS Printer TRJIST56P dll WindowsNT ee TRJST56P95 dll Windows95 98 DRJST50P POS Printer Drjst50p dll WindowsNT PA Drjst50p95 dll Windows95 98 Drjst51p dll WindowsNT Drjst51p95 dll Windows95 98 ST 90 TPR158P POS Printer PC Speaker Pcspkr dll WindowsNT POS Power Pwmgso dll The others Control Pannel Applet Tecopos cpl Program for a function check OposChk exe 183 Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 181
69. Values 159 Table 103 PKBST Keylock Control Registry 0 00 cee eee eee 160 Table 104 POS Power Control Functions 000 cece eee eens 162 Table 105 POS Power Control Properties Values in part 163 Table 106 POS Power Control DirectlO Method Command 167 Table 107 POS Power Control DirectlOEvent Event Number 167 Table 108 POS Power Control Registry acordas a daa eed 170 Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 i 1 For your information This specification Application User Manual is available both for he JP version and the US version of OPOS Control Kits Some parts are supported only on the JP version of OPOS Control but not on the US version The descriptions in this specification of the following items are only concerned with the JP version not with the US version ST 88 POS terminal DRWAP 80 Cash Drawer OCIA scanner driver RT 1 Coin Dispenser Control VT 100 Cash Changer Control TM3001 Scanner The US version of OPOS Control currently supports the followings Windows XP ST 5500 ST 6400 ST 6500 ST 60 ST 6500N ST 7000 Windows 2000 ST 5500 ST 6400 ST 6500 ST 60 ST 6500N ST 7000 Windows NT4 0 ST 5500 ST 6400 ST 6500 ST 60 ST 90 ST 6500N Windows 95 ST 5500 ST 6400 ST 6500 ST 5600 ST 60 Windows 98 ST 60 ST 6500N Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 12 2
70. WER _DIO_GH_12000MV 12V line voltage POWER _DIO GH ALL All retrievable information pString Not used Specify a null Explanation Requirements are Open DeviceEnabled TRUE Hardware information is retrieved Retrievable information is temperature of the CPU and the chip the rotation speed of the CPU fan enclosure fan and HDD fan voltages of the CPU 1 5V 2 5V 5V and 12V lines Retrieved information is stored on the basis of the unit of measure as shown below Information type E Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 10 This command stores the retrieved values refer to the explanation of pData parameter after logical OR is applied If a bit which is invalid for the pData parameter is specified a parameter error results When the processing succeeds that information is commadelimited and stored into the pString parameter Only the specified information among the temperature of the CPU temperature of the chip the rotation speed of the CPU fan enclosure fan and HDD fan the voltages of the CPU 1 5V 2 5V 5V and 12V lines are stored in this order The unit of measure is not affixed Note that the enclosure fan is not provided so 1 will be stored For example to retrieve the temperature of the CPU the rotation speed of the CPU fan and the CPU voltage only specify the logical OR of POWER DIO GH CPUTEMPERATURE POWER_DIO_GH_CPUFANREVS and POWER_DIO_GH_CPUVOLTAGE for the
71. _ LOCAL _MACHINE YSOFTWAREYOLEforRetaiServiceOPOS POSPrinter TRST53P Standard TEC TRST53 P Service CXOPOSYTECYTRIST53P95 dll Description TEC TRST 53 Parallel POS Printer Version 1 2 Port LPT1 LPT2 TimeoutConstant g TimeoutMultiplier g DeviceName TRST53P Country US France Germany UK Denmark 1 Sweden Italy Spain Japan Norway Denmark 2 Brief explanation of the service object Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 68 Version version of the service object Port Communication port LPT1 LPT2 Possible set up with a control panel DeviceName Connection Device EN E Country Country Code O USA r France 10 Possible set up with a control panel Table 42 TRST53P POS Printer Control Registry 8 3 5 Precautions and restrictions 1 Properties linked with fonts or MapMode Two kinds of fonts are supported Font related property will be changed to the following by sending font change escape sequence MapMode PTR_MM_DOTS Dot width LT rates alinean oa Ue heg soUineChars FontA HY 56 A 48 FotB HY 56 a 64 MapMode PTR_MM_TWIPS 1 1440 of 1 inch LT ootinesipacing oaLineWidih verLineHeighi veoCineChars rma 4082 o a Fms 20408 tts MapMode PTR_MM_ENGLISH0 0001 inch LJ erlineSpacing xoLneWidh eoineHetght
72. a E State A edad 145 9 1 3 CheckHealth Specification oooooocrocornrrrrrrrr 145 9 1 4 OPOS Registry a e ed e 146 9 1 5 Precautions and resiictionS 0 0 cee eee 147 9 2 RS ScannerEx Control RSSCANNER EX 2c e eee eee eee 151 9 2 1 Models for support se ok nate Grade Sos 2 eee ae ae a ee 0 151 9 2 2 o E AN wie hat r a 151 9 23 CheckHealth Specification ooooooocrooororrrrrrr 151 9 24 OPOS ASUS sites dr OE E a 151 925 Precautions and resiictionS 1 0 6 eee eens 151 9 3 USB Scanner Control USBSCANNER 6000 cece eee 152 9 3 1 Models for support 2 accionar dae tits 152 9 3 2 FUNCIONS sh ioe ted tho can sae a eet Eee ta nie baa es ta ie seg 152 9 3 2 CheckHealth Specification 1 2 00 ccc eee 152 9 3 4 OROS ASI di 154 9 3 5 Precautions and TESIS vaccine i 15 9 4 USB Scanner Extension Control USBSCANNER EX ooooocccoccoo oo 158 9 4 1 Models for SUPPO icon de odds 158 942 FURCIONS nd 158 9 43 CheckHealth Specification 0 00 cece eects 158 9 44 OPOS Regist co 158 945 Precautions and resiictionS oooocccccorrrcrrrrrrr 158 10 POS Power ios E 159 10 1 POS Power Control PWMG 0 cece eens 159 10 1 1 _ Models for support oca ada a ri 159 Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 10 127 FUNCIONS ur than ta adas 159 10 1 3 CheckHealth Specification ooooocooocorrrorrarr os 159 10 14 OPOS Regist ntc clas 160 10 1
73. abled property to TRUE OPOS E FAILURE External HCheck UPS UPS function is This function is not available Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 16 3 Interactive Level OPOS_CH_INTERACTIVE The following dialog box which shows the statuses of the AC power supply power switch UPS battery CPU temperature CPU fan enclosure fan and HDD fan is displayed Interactive Check Health E x Temperature Voltage i CPU CPU Chip FAN Revolution q 1 5Y CPU 2 5V CHASSIS 5 HDD 12 Click on the OK or NG button depending on the result of a visual check Each status is added to the list by the following notation Status AC powerison AC Power is off Power switch is on Power switch is off Battery is nearly full Battery is dead CPU temperature is normal CPU temperature is high CPU fan is rotating CPU fan is not rotating Enclosure fan is rotating Enclosure fan is not rotating HDD fan is rotating HDD fan is not rotating 1 The power switch turns to off state at a moment when the power switch is pressed due to the specification of the hardware for the M 7000 and ST 7000 2 Since an enclosure fan is not provided these notations will not be displayed actually Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 16 NOTE When the UPS function is not provided on the POS terminal UPS not installed is displayed on the list
74. acter Double width amp Escape sequences c height character Table 85 DRJST51S POS Printer Control functions pedal property OOOO Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 12 CapRecDwide CapRecDwideDhigh FALSE CapRecEmptySenser FALSE CapRecltalic FALSE CapRecLeft90 FALSE CapRecNearEndSensor TRUE CapRecPapercut TRUE CapRecRight90 FALSE CapRecRotate180 TRUE CapRecStamp TRUE CapRecUnderline FALSE CapSlpPresent TRUE CapSlpFullslip FALSE CapSlo2Color FALSE CapSloBarCode FALSE CapSloBitmap FALSE CapSloBold FALSE CapSlpDhigh FALSE CapSloDwide TRUE CapSlpDwideDhigh FALSE CapSlpEmptySenser FALSE CapSlpltalic FALSE CapSlpLeft90 FALSE CapSlpNerEndSenser FALSE CapSlpRight90 FALSE CapSloRotate180 TRUE CapSlpUnderline FALSE CharacterSet 190 CharacterSetList 190 191 192 193 194 195 196 197 198 FontTypefaceList PAGEO PAGE1 PAGE2 PAGE3 PAGE4 PAGE5 PAGE6 PAGE7 PAGE8 JmLineChars JmLineCharsList 40 JmLineHeight JmLineSpacing 12 JmLineWidth RecLineChars RecLineCharsList 40 RecLineHeight RecLineSpacing RecLinesToPaperCut RecLineWidth RecSidewaysMaxChars RecSidewaysMaxLines SlpBarCodeRotationList SlpLineChars SlpLineCharsList SloLineHeght SlpLinesNearEndToEnd SlpLineSpacing SlpLineWidth SlpMaxLines Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 18 SipSidewaysMaxChars A SipSidewayMaxLines AS Table 86 List of DRJST51S
75. al USB scanners are connected DeviceFileName character strings need to be described in the registry This operation can be performed through the OPOS control panel 5 Plug and play of USB scanner in operation Avoid unplugging and plugging the scanner during operation though the USB scanner is a plug and play device The scanner will become available again after being recognized through plug and play However if the USB scanner is plugged in the different USB port from the previous one re installation of a driver is required which may cause confusion 6 Relation with TOSHIBA TEC s general purpose USB driver The USB scanner OPOS Control has been designed to operate on the TOSHIBA TEC s general purpose USB driver If the TOSHIBA TEC s generatpurpose USB driver has not been installed when the USB scanner is connected the USB driver may not properly operate Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 158 9 4 USB Scanner Extension Control USBSCANNER EX 9 4 1 Models for support As USB Scanner Control similarly 942 Functions Common property ControlObjectDescription TEC OPOS Scanner Control Object ControlObjectVersion 4002000 1002007 IO TEC USB Scanner OPOS Service Object ServiceObjectVersion 4002000 HS 530 UB USB Scanner 1 HS530UB 2 1 DeviceDescription may vary depending on the models to be connected 2 DeviceName may vary depending on the models t
76. ally terminated OPOS_SUCCESS is returned to the ResultCode property In case of Already opened the return code remains unchanged In other cases OPOS_E CLOSED is returned Raumo Openesu Open OPOS SUCCESS OPOS _ SUCCESS Normally terminated EA OPOS E ILLEGAL OPOS_OR_ALREADYOPEN Already opened CA OPOS E NOEXIST OPOS_OR_REGBADNAME _ The registry corresponding Confirm the open name to the open name is not found SO or driver is not stored An investigation is properly necessary The registry is not correct Confirm the registry SO or driver is not stored An investigation is properly necessary SO or driver is not stored An investigation is Intemal error Restart the system L Generation of the system resource failed OPOS E NOSERVICE OPOS OR BADIF SO does not support the Reinstall the OPOS control required method kit OPOS E NOSERVICE OPOS ORS BADCO CO does not support the Reinstall the OPOS control required method kit Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 T8 2 Close method The result of the processing is notified by using the return code and the ResultCode property OPOS_SUCCESS OPOS E CLOSED Normally terminated OPOS E CLOSED OPOSE CLOSED Coe SC oOo y 3 DirectlO method The result of the processing is notified by using the return code ResultCode property and the ResultCodeExtended property The DirectIO method describes the processing re
77. and The battery has been charged 122 The status of The battery is dead indicates the condition that the no electricity remains in the battery and the power supply will stop in a short time without warning When this is notified any further processing should not be performed and the present processing should be stopped if possible To terminate the processing securely shut down the POS terminal when it is in Off or offline state To use this function the UPS function must have been installed NOTE 1 The battery is dead indicates the condition that the PWVR_SUE_UPS_CRITICAL is stored in the State parameter and the StatusUpdateEvent event occurs andthe PWR_UPS_CRITICAL is stored in the UPSCharge property NOTE 2 The battery has been charged indicates the condition that the PWR_SUE_UPS FULL is stored in the State parameter and the StatusUpdateEvent event occurs and the PWR_UPS_FULL is stored in the UPSCharge property NOTE3 Off or offline state indicates the condition that the PWR_SUE_OFF_OFFLINE is stored in the State parameter and the StatusUpdateEvent event occurs and that the OPOS_PS_OFF_OFFLINE is stored in the PowerState property 8 Shutdown and automatic shutdown After the POS terminal is in Off or offline state 5 it automatically shuts down in the specified time set by the EnforcedShutdownDelaytime property even before the application uses the ShutdownPOS method To shut
78. aper NearEnd OK Error The dialog box will not be displayed when the device is operating Value ResultCode CheckHealthText Meaning OPOS SUCCESS Interactive HCheck Successful Successful OK button was clicked OPOS E FAILURE Interactive HCheck Error Error NG button was clicked OPOS E BUSY Interactive HCheck Busy Device busy OPOS E DISABLED HCheck Disabled Device is disabled OPOS E NOTCLAIMED HCheck Exclusive Exclusive error 8 74 OPOS Registry keeps configuration information as follows HKEY_LOCAL_MACHINEYSOFTWAREYOL EforRetal ServiceOPOS POSPrinter YDRJIST50P Standard TEC DRJST50 P Service C OPOS TEC DRJST50P95 dll Description TEC DRJST 50 P Parallel POS Printer Version 1 2 Port LPT1 LPT2 DeviceName DRJST50P OnLineSW Off On TimeoutConstant g TimeoutMultiplier 0 Country US France Germany UK Denmark 1 Sweden Italy Spain Japan Norway Denmark 2 File name of the service object Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 105 Brief explanation of the service object version of the service object Port Communication port LPT1 LPT2 Possible set up with a control panel DeviceName Connection Device DRJST50P 8 75 1 Possible set up with a control panel Table 70 DRJS
79. aused by DRJST 50 parallel printer varies depending on whether the system is Windows95 98 or WindowsNT StatusUpdate event for cover open will not occur on WindowsNT Variety of character sets for countries and the registry Character sets for each country are defined in DRST 50 The registry Country can accommodate the variety of character sets for each country Characters ranging from 0x20 to 0x7F are used and part of them are allocated to graphic characters for each country and application The allocated area is the following twelve characters 0x23 0x24 0x40 0x5B to 0x5E 0x60 0x7B to 0x7E See DRST 50 H W Reference Manual for detail RAA 00401 On CharacterSet and CharacterSetList property DRJST 50 printer has 6 pages of character code table ranging from 0x00 to OxFF Standard character set is defined for codes ranging from 0x00 to 07F with the same characters for 6 pages and specific character set for DRUST 50 is defined for codes ranging from 0x80 to OxFF For example symbol characters Katakana and Hiragana are defined in this range See DRJST 50 HW reference manual RAA 00401 for detail Switching of these six pages of character codes is realized by changing CharacterSet ChacterSetList property shows that numbers from 190 to 195 can be specified The relation between CharacterSet and the page is as follows CharcterSet property value Page setting is also available in font type setting Table 72 DRJST50P CharacterSet Prope
80. ble 83 DRJST51P Properties linked with MapMode oo ocoo ooooo o 123 Table 84 DRJST51P CharacterSet Property value 0 cece ees 124 Table 85 DRJST51S POS Printer Control functions oooooooo 126 Table 86 List of DRJST51S POS Printer Control Property value 128 Table 87 DRJST51S POS Printer Control Escape sequence 00 129 Table 88 DRJST51S POS Printer Control Registry 0o o ooooooo o 132 Table 89 DRJST51S Properties linked with MapMode oo ocooo oooo o 132 Table 90 DRJST51S CharacterSet Property value cee es 133 Table 91 TPR158P POS Printer Control functions o o oooooooo 135 Table 92 List of TPR158P POS Printer Control Property value 137 Table 93 TPR158P POS Printer Control Escape sequence 000e 139 Table 94 TPR158P POS Printer Control Registry 0 0 00 cece eee ee 141 Table 95 TPR158P Properties linked with fonts ooooooooomomo o 142 Table 96 TPR158P Character size of Width parameter 0 0c eee 142 Table 97 List of RS Scanner Control Property value s eee 145 Table 98 RS Scanner Control Registry 0 0 ccc ees 147 Table 99 ScanData Property Symbol character and DeviCe 148 Table 100 Bar code data format Default value of HS520 LS750 LS120 system 149 Table 101 Bar code data format Default value of TM3001 system 150 Table 102 List of POS Power Control Properties and
81. cape sequences c Left and right rotational print Table 67 DRJST50P POS Printer Control functions _ Specialproperty o O Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 100 CapRecDhigh FALSE CapRecDwide CapRecDwideDhigh CapRecEmptySenser CapRecltalic CapRecLeft90 CapRecNearEndSensor CapRecPapercut CapRecRight90 CapRecRotate180 CapRecStamp CapRecUnderline CapSlpPresent CapSloFullslip CapSlp2Color CapSloBarCode CapSloBitmap CapSloBold CapSipDhigh CapSloDwide CapSlpbDwideDhigh CapSlpEmptySenser CapSloltalic CapSlpLeft90 CapSlpNerEndSenser CapSlpRight90 CapSloRotate180 CapSlpUnderline CharacterSet CharacterSetList FontTypefaceList JmLineChars JmLineCharsList JmLineHeight JmLineSpacing JmLineWidth RecLineChars RecLineCharsList RecLineHeight RecLineSpacing RecLinesToPaperCut RecLineWidth RecSidewaysMaxChars RecSidewaysMaxLines SlpBarCodeRotationList SlpLineChars SlpLineCharsList SloLineHeght SlpLinesNearEndToEnd SlpLineSpacing SlpLineWidth SlpMaxLines TRUE FALSE FALSE FALSE FALSE TRUE TRUE FALSE TRUE TRUE FALSE TRUE TRUE FALSE FALSE TRUE FALSE FALSE TRUE FALSE FALSE FALSE FALSE FALSE FALSE TRUE FALSE 190 190 191 192 193 194 195 PAGEO PAGE1 PAGE2 PAGE3 PAGE4 PAGES 3 12 297 2 Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 101 SlpSidewaysMaxChars O SipSidewayMaxLines AS Table 68 List of DRJST5
82. ccessful Successful completion OPOS E FAILURE Extemal HCheck Error Printer error OPOS E BUSY External HCheck Busy Device busy OPOS E DISABLED HCheck Disabled Device is disabled OPOS E NOTCLAIMED HCheck Exclusive Exclusive error Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 57 3 Interactive Level OPOS CH_INTERACTIVE Displays the following dialog box to confirm successful printing to the POS printer by clicking each command button Select OK button or NG button by visually checking the result POS Printer Interactive Check Health Print H Feed Cut Command m Printer Status Cover Open Cover Open OK Error The dialog box will not be displayed when the device is operating Value ResultCode CheckHealth Text Meaning OPOS_SUCCESS Interactive HCheck Successful Successful OK button was clicked OPOS E FAILURE Interactive HCheck Error Error NG button was clicked OPOS E BUSY Interactive HCheck Busy Device busy OPOS E DISABLED HCheck Disabled Device is disabled OPOS E NOTCLAIMED HCheck Exclusive Exclusive error 8 24 OPOS Registry keeps configuration information as follows HKEY_LOCAL_MACHINEYSOF TWAREYOLEforRetal SeviceOPOSYPOSPrinter TRJST52S Standard TEC TRJST52 S Service C OPOS TEC TRJST52S dl Description TEC TRJST 52 Serial POS Printer Version 4 2 Port C
83. cification Currently the following can be specified for character attributes O Reset Normal character Mandatory conditions are Open Claim and DeviceEnabled An error occurs according to OPOS specification during marquee scrolling Functions the same way as the normal DisplayText method during teletype display 5 1 5 OPOS Registry Keeps configuration information as follows HKEY_LOCAL_MACHINEYSOF TWAREYOLEforRetal ServiceOPOSYL ineDisplay YLIUST51 Standard TEC LIUST 51 S Service C OPOS TEC Liust51 dll Description TEC LIUST 51 Serial Line Display Version 42 Port COM1 COM8 BaudRate 9600 Country 0 12 99 File name of the service object Brief explanation of the service object version of the service object Port Communication port COM1 COM8 Possible set up with a control panel Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 24 Country Code Characters ranging from 0x20 to 0x7F are used and part of them are allocated to graphic characters for each country and application Character sets for each country are defined USA France Germany Great Britain Denmark 1 Sweden 0 4 2 3 4 5 6 7 8 9 Denmark 2 Spain 2 Latin America East Europe Possible set up with a control panel Table 9 LIUST51 Line Display Control Registry 5 16 Precautions and restrictions 1 Descriptor The system supports 20 descriptors Nu
84. country and application Character sets for each country are defined USA France Germany Great Britain Denmark 1 Sweden 0 1 2 3 4 5 6 7 8 9 Denmark 2 Spain 2 Latin America East Europe IceLand Japan 2 100 Japan Shift JIS Possible set up with a control Screen mode Change the screen mode of display line and column 6 4columns x20 5x6 font character display 7 5columns x20 5x6 font character display 8 2 columns x 20 8x 16 font character display Possible set up with a control panel Table 13 LIUST52 Line Display Control Registry 5 3 6 Precautions and restrictions 1 percentage of the brightness and the brightness of physical device DeviceBrightness property value n Brightness of LIUST 52 physical device a 0 Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 30 2 Table 14 Brightness of LIUST52 Line Display Character sets for country code Character sets for each country are defined in LIUST 52 Characters ranging from 0x20 to Ox7F are used and part of them are allocated to graphic characters for each country and application The allocated area is the following twelve characters 0x23 0x24 0x40 0x5B to 0x5E 0x60 0x7B to 0x7E ScreenMode LIUST 52 allows three kinds of screen mode selection Property value of each screen mode is as follows Table 15 Screen mode of LIUST52 Line Display Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 31 5 4 LIUST53 Line Di
85. d Device is disabled OPOS E NOTCLAIMED HCheck Exclusive Exclusive error Application User s Manual TOSHIBA TEC CORPORATION 1 Interactive Leve OPOS_CH_INTERACTIVE EAA 01376 Displays the following dialog box to confirm successful printing to the POS printer by clicking each command button Select OK button or NG button by visually checking the result POS Printer Interactive CheckHealth Command Print ASCII Code Print H Feed Cut Printer Status Hardware Error Error The dialog box will not be displayed when the device is operating Value ResultCode CheckHealth Text OPOS_SUCCESS Interactive HCheck Successful OPOS E FAILURE Interactive HCheck Error OPOS E BUSY Interactive HCheck Busy OPOS E DISABLED HCheck Disabled OPOS E NOTCLAIMED HCheck Exclusive 86 4 OPOS Registry keeps configuration information as follows Meaning Successful OK button was clicked Error NG button was clicked Device busy Device is disabled Exclusive error HKEY_LOCAL_MACHINE SOFTWARE OLEforRetai ServiceOPOS POSPrinter TRST56S Standard TEC TRJST56 S Service C OPOS TEC TRUJST56S dll Description TEC TRST 56 Serial POS Printer Version 4 2 Port COM2 BaudRate 9600 TimeoutConstant g TimeoutMultiplier g Country US France Germany UK
86. d by all other processes opened In some cases printing a line may not complete if interrupted by ClearOutput during bit map printing Considering that it is recommended that Line feed 10 of feed escape sequence be sent if interrupted by ClearOutput 5 Notes on escape sequence Escape sequences of form cut bit map print center alignment and right alignment with print methods are only effective after form feed Therefore they must be placed after feed escape sequence or Line Feed 10 to function properly 6 On print method operation TRST 53 does not start print operation until print data for one line is determined Not all data will be printed unless print method ends with Line Feed 10 7 About SutatusUpdate event of recoverable error This does not occur on TRST 53 S 8 Variety of character sets for countries and the registry Character sets for each country are defined in TRST 53 The registry Country can accommodate the variety of character sets for each country Characters ranging from 0x20 to Ox7F are used and part of them are allocated to Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 7 graphic characters for each country and application The allocated area is the following twelve characters 0x23 0x24 0x40 0x5B to 0x5E 0x60 0x7B to 0x7E See TRST 53 H W Reference Manual for detail RAA 00442 Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 80 8 5 TRST56P POS Printer Control fTRST56P
87. d in this range See DRJST 51 HW reference manual RAA 00440 for detail Switching of these nine pages of character codes is realized by changing CharacterSet ChacterSetList property shows that numbers from 190 to 198 can be specified The relation between CharacterSet and the page is as follows Page setting is also available in font type setting Table 84 DRJST51P CharacterSet Property value Action of slip printer BeginInsertion method Open the orifice for slip form if it is not open Time out value is not effective for monitoring the slip form insertion Therefore OPOS_SUCCESS will be immediately retumed After the slip form is inserted never forget to call Endinsersion method Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 2 Endlnsertion method OPOS SUCCESS is immediately retumed Never forget to execute Endinsersion method after issuing BeginInsersion method Sheet Slip and Journal Receipt check of the print method will be enabled If print method is issued to a receipt without issuing this method the device malfunctions After BeginInsersion method printing to a receipt without the slip sheet inserted fails If the slip form is inserted after this the slip form is fed and the data sent to the receipt will be printed Printing data to a receipt with the slip sheet inserted succeeds after feeding the slip form To avoid such operation BeginInsersion and Endinsersion are to be used in pairs With EndInsersion
88. down process Table 103 PKBST Keylock Control Registry 10 1 5 Precautions and restrictions Shutdown POS method Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 161 e Close all applications before calling this method Otherwish data may be corrupted e Following this method when the Close method is called the OS starts shutting down This is because all data of application that called this method is saved before the shutdown starts Shutdown process e When the Shutdown POS method is executed or when power is shut down the automatic shutdown process is performed after a lapse of time specified in the Enforced Shutdown Delay Time property e When POS is shut down the automatic shutdown functions is not provided when power management is closed for the last application Enforced Shutdown Delay Time Property e With the setting value non zero after a lapse of the specified time the automatic shutdown is performed But the auto shutdown notification function is not supported Relations hip with the UPS Driver e On Windows NT 2000 XP the UPS Device Driver for Windows NT 2000 XP must be installed Relationship with the UPS Service e On Windows NT 2000 XP the shutdownmonitoring service for Windows NT 2000 XP must be installed Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 162 10 2 POS Power Control PWMGREV2 10 2 1 Models for support N 7000 and ST 7000 POS Terminals 10 22 Software
89. down the POS terminal without using the automatic shutdown set O zero for the EnforcedShutdownDelayTime property or use the Shutdown POS method before the timeout To use this function the UPS function must have been installed NOTE Off or offline state indicates the condition that the PWR_SUE_OFF_OFFLINE is stored in the State parameter and the StatusUpdateEvent event occurs and that the OPOS_PS_OFF_OFFLINE is stored in the PowerState property 9 Criterion of the CPU temperature status This control considers the CPU temperature at 68 C or above as High and temperature less than 68 C as Normal The CPU temperature status is stored in the Status parameter and notified by the StatusUpdateEvent event To use this function the sensor function must have been installed Temperature PWR_SUE_TEMPERATURE_HIGH PWR SUE TEMPERATURE OK Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 T3 10 Criterion of the fan status This control monitors the rotation speed of the 3 fans CPU fan enclosure fan and HDD fan However the enclosure fan is not provided on the current model it is not monitored actually This control considers the rotation speed of O rom as Not rotating and more than O rpm as Rotating The fan status is stored in the Status parameter and it is notified by the StatusUpdateEvent event Notification of the status of the enclosure fan and the HDD fan is unique function This control notifies
90. e HSSILE SO UB as 2 These values are required when competitors scanners are used under the TOSHIBA TEC s OPOS Control However these are usually neither specified nor guaranteed when competitors scanners are being connected Table 108 USB Scanner Control Registry Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 15 Take note the values of DataFormat DisconnectErrorDelay Time ProducelD VendorlD and DeviceName must conform to the device setting values and must not be changed without reason The default value of each device is as follows HS530UB DeviceName HS530UB DataFormat 2 DisconnectErrorDelay Time 5000 The value of DeviceFileName is used when two or more identical model scanners are connected The value should be left blank or undefined under normal use 9 3 5 Precautions and restrictions 1 Relation between ScanData property and device Data scanned by the scanner are set in the ScanData property Header information including STX characters and terminator characters including ETX or CR characters are eliminated All other data are stored in the ScanData property Other data are as follows Symbolic characters that indicate bar code systems Number of digits of bar code data ScanData includes the above information and is set in the following format Symbolic character Number of digits Bar code data Symbolic characters are to identify bar code systems These characters are set in o
91. e constants and not to be changed MapMode PTR_MM_DOTS Dot width XxxLineSpacing SloLineWidth R J LineWidth XxxLineHeight e 72 360 apMode PTR_MM_TWIPS 1 1440 of 1 inch Li j lpLineWidth R JY LineWidth XxxLineHeight 40 2767 MapMode PTR_MM_ENGLISH0 0001 inch XxxLineSpacing SloLineWidth R J LineWidth XxxLineHeight MapMode PTR_MM_METRIC 0 01 mm XxxLineSpacing SloLineWidth R J LineWidth XxxLineHeight 10739 Table 89 DRJST51S Properties linked with MapMode Notes on escape sequence The escape sequence of form cut and stamp only works after feed if it is set in the print method Therefore it must be set after feed escape sequence or Line Feed 10 to z 7 a Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 IB 7 1 properly operate Double height and double width escape sequence will be processed as double width sequence because the double height attribute is not supported Double height escape sequence is processed as a normal character because double height attribute is not supported On print method operation DRJST 51 does not start print operation until print data for one line is determined Not all data will be printed unless print method ends with Line Feed 10 On events StatusUpdateEvent occurs corresponding to cover open close to no paper of DRJST 51 It also reports that it has been resumed to normal status Variety of character sets for countri
92. e to be cut 0 100 Full cut RecLinesToPaperCut property shows the number of lines to be fed Therefore the paper will be cut at the next line from the line printed Feed amp form cut ESC sP Notoperable amp stamp print Bit map print ESC B Operable signifies the bit map number 1 can be specified The bit map can be registered by SetBitmap method Multiple line print ESC HIF Operable signifies the lines to be fed signifies the number specified by MapMode Escape sequence operable during printing Escape sequence operable when printing Name A Bold Underline ESC uC Operable signifies the underline width O No underline 1 Thin underline 2 Thick underline talc Red character Reversed character Shaded character Single width character Double width character_ ESC 2C Double height character_ ESC 3C Double width amp height ESC 4C Operable character Horizontal magnification ESC hC Operable signifies the horizontal magnification 0 150 Single magnification 151 Double magnification Vertical magnification ESC vC Operable signifies the vertical magnification 0 150 Single magnification 151 Double magnification 45 Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 46 ESC cA Right aligned ESCIrA ESCIN Table 29 TRJST52P POS Printer Control Escape sequence 8 1 3 CheckHealth Specification 1 Internal Level OPOS_CH_INTERNAL Value ResultCode Chec
93. ealthText property if the drawer status is open and store error on CheckHealthText property if the drawer status is not open Value ResultCode CheckHealthText Meaning OPOS_SUCCESS Extemal HCheck Successful Drawer opened OPOS E FAILURE Extemal HCheck Emor Drawer did not open OPOS E NOTCLAIMED HCheck Exclusive Exclusive error 3 Interactive Level OPOS_CH_INTERACTIVE Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 Display the following dialog box and confirm that the drawer opens and its status changes by clicking OPEN command button Select OK button or NG button by visually checking the result CashDrawer Interactive Check Health OK Drawer Open Drawer Status OPEN NG Value ResultCode CheckHealthText Meaning OPOS_ SUCCESS Interactive HCheck Successful Successful OK button was clicked OPOS E FAILURE Interactive HCheck Error Error NG button was clicked OPOS E NOTCLAIMED HCheck Exclusive Exclusive error 4 14 OPOS Registry Keeps configuration information as follows HKEY_LOCAL_MACHINE SOFTWAREYOLEforRetail ServiceOPOS CashDrawer DRWST Standard TEC DRAWER Service C OPOS TEC Dmso dll Description TEC DRWST Cash Drawer Version 4 2 POSType ST5500 ST5600 ST88 ST9O DeviceName DRWST50 DRWST52 DRWAP80 Port DRW1 DRW2 POSType Drawer with
94. eck Successful Battery neany full OPOS E FAILURE Extemal HCheck Error Empty OPOS E NOHARDWARE _ External HCheck Not Enabled Disabled 3 Interactive Level OPOS_CH_INTERACTIVE The dialog box below appears Click the command buttons and check that printing is performed successfully to the POS printer Check the result visually and click either OK or NG Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 10 Interactive Check Health ON OFF AC Power C C e Power Switch Battery Value ResultCode CheckHealthText Meani OPOS_SUCCESS Interactive HCheck Successful Completed using the OK button OPOS E FAILURE Interactive HCheck Data Erro Completed using the NG button OPOS E DISABLED HCheck Not Enabled Disabled 10 1 4 OPOS Registry The following configulation information is retained HKEY_LOCAL_MACHINEYSOF TWAREYOLEforRetal SeviceOPOSYPOS Power PWMG Standard TEC PWMG Service C 0POS TEC Pwmgso dll Description TEC POS POWER MANAGEMENT Version 45 PowerFailDelay Time 0x000003e8 1000 UPSLowDelayTime 0x00000000 0 ShutProc C OPOS TEC DRV Service POSShutexe File name of the service object Simple explanation of the service object Version number of the service object PowerFailDelay Time Instantenous interruptions monitoring timer value UPSLowDelayTime Time until UPS_LOW event occurrence from Offline value ShutProc File name of the shut
95. ed OPOS E NOTCLAIMED HCheck Exclusive Exclusive error 85 4 OPOS Registry keeps configuration information as follows HKEY_ LOCAL _MACHINE SOFTWAREYOLEforRetaiServiceOPOS POSPrinter TRST56P Standard TEC TRST56 P Service C OPOS TEC TRUJST56P95 dll Description TEC TRST 56 Parallel POS Printer Version 4 2 Port LPT1 LPT2 TimeoutConstant 0 TimeoutMultiplier g DeviceName TRST56P Country US France Germany UK Denmark 1 Sweden Italy Spain Japan Norway Denmark 2 Spain 2 Latin Korea File name of the service object Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 86 Brief explanation of the service object version ofthe service object Communication port LPT1 LPT2 Possible set up with a control panel DeviceName oe Device oe Country Denmark 2 Spain 2 Latin Korea Possible set up with a control panel PaperWidthMode 80mm paper 58mm paper toe Possible set up with a control panel LineSizeMode 0 48 PaperWidthMode 0 36 PaperWidthMode 1 1 42 PaperWidthMode 0ys0 PaperWidthMode 1 Possible set up with a control panel Table 56 TRST56P POS Printer Control Registry 8 5 5 Precautions and restrictions 1 Properties linked with fonts or MapMode Two kinds of fonts are supported Font related property will be changed
96. eoLneChars Faia e ee 18 a oa 167 aa o MapMode PTR_MM_METRIC 0 01 mm xxxLineSpacing xxxLineWidth xxxLineHeight HA 00 Font 200 a Table 43 TRST53P Properties linked with fonts or MapMode 2 About the property to change font and Mapmode lt Write enabled gt xxxLineSpacing is not affected by font but is affected by MapMode and changes Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 The value set on xxxLineChars will be adjusted to the nearest and greater value than the value specified and affect the font Font change will also affect xxxLineHeight value Change of xxxLineHeight will affect the font If xxxLineHeight is less than 24 FontB will be effective and otherwise FontA will be effective lt Read only gt xxxLineWidth is not affected by font but is affected by MapMode and changes 3 About PrintBarCode method When the absolute position is specified by Alignment parameter of PrintBarCode method right alignment print is assumed due to the restriction of the printer itself The value specified by Width parameter will be converted into three varieties as shown below Wah parameter ess than 1 2 of paper with Less than 3 4 of paper width Moe CB Table 44 TRST53P Character size of Width parameter Set the print data as shown below for UPC E bar code print UPC E bar code 0 X X X X4 X Xs C D Value of X6 OX X2 X00 00XsX X OX X 00000 OX X X X
97. er Interactive Check Health Value ResultCode CheckHealthText OPOS_SUCCESS Interactive HCheck Successful OPOS E FAILURE Interactive HCheck Error OPOS E NOTCLAIMED HCheck Exclusive OPOS E DISABLED HCheck Disabled Meaning Successful End atOK count Error End at NG count Exclusive error Device is disabled Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 154 9 34 OPOS Registry The following configuration information is retained HKEY_LOCAL_MACHINE SOFTWAREYOLEforRetail ServiceOPOS Scanner YUSBSCANNER Standard TEC USBSCANNER Service CXOPOSYTECYUSBSCNSO DLI Description TEC USB Scanner Version 212 DisconnectErrorDelay Time 5000 ProductlD T e Usually omitted VendorlD 2214 Usually omitted DataFormat 1 ETS DeviceName HS530UB DeviceDescription HS 530 UB USB Scanner DeviceFileName 1 These values need to be set as same as the device setting values Monitoring time from the detection of connectors disconnection to the notification of an error When the status is recovered during the monitoring time an error is not notified DisconnectErrorDelay Time Bar code data format CRis attached to the end of data sent and received STX is attached to the beginning of data sent and eau received while ETX is attached to the end Nothing is attached to data sent CR is attached to data received Connection Devic
98. er operate at the same time 2 About the relation with POS keyboard driver MSR OPOS control can operate on the keyboard driver of PKBST 5x POS Therefore PKBST 5x POS keyboard for Windows95 98 must have been installed on Windows95 98 and PKBST 5x POS keyboard for WindowsNT 2000 XP must have been installed on WindowsNT 2000 XP Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 2 8 POS Printer 8 1 TRJST52P POS Printer Control TRJST52P 8 1 1 Models for support TRJST 52 P Parallel printer 8 1 2 Functions Joumal printer Slip printer Batch processing Logo print Two color print Bar code print bitmap print Italic print Form cut Reversed character Multiple line feed Single line feed Shaded character Center aligned Right aligned Left right rotation print Bold Double width amp height character Inverted print Left and right rotational print Synchronous Asynchronous print Error report Escape sequences c Left and right rotational print is possible only when the firmware supports page mode Table 27 TRJST52P POS Printer Control functions pedal property Y Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 43 CapRec2Color FALSE CapRecBarCode CapRecBitmap CapRecDhigh CapRecDwide CapRecDwideDhigh CapRecEmptySenser CapRecltalic CapRecLeft90 CapRecNearEndSensor CapRecPapercut CapRecRight90 CapRecRotate180 CapRecStamp CapRecUnderline CapSloPresent CapSloFullslip CapSlp2Colo
99. eripheral device Drawer DRWST Cash Drawer Control DRWST 5051 52 53 DRWAP 80 Line display paro ee MCRST MSR Control MCRST 50 51 LKBST 56 reader POS Printer TRJST52P POS Printer Control TRJST 52 P TRJST52S POS Printer Control TRJST 52 S TRST53P POS Printer Control TRST 53 P Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 14 Scanner RS Scanner Control HS 380 RS Bar code Scanner HS 520 RS LS 750 RS LS 770 RS LS 120 RS HS R10 RS RS ScannerEx Control HS 380 RS HS 520 RS LS 750 RS LS 770 RS LS 120 RS HS R10 RS OCIA Scanner Control 2 HS 520 0C LS 750 OC USB Scanner Control HS 530 UB USB ScannerEx Control HS 530 UB AE RT 1 Coin Dispenser Control 2 MICR reader RM Pee Se Auto Cash VT100 Cash Changer Control 2 VT100 Changer PC Speker Tone Indicator PCSPKR POS Power PWMG Pos Power Control fee A A PWMGREV2 Pos Power Control POS Power for ST 7000 1 Supports for foreign version 2 Supports for domestic version Table 2 All devices supported by TEC OPOS Control Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 5 3 TEC OPOS Control Kits 3 1 Kits Structure TEC OPOS Control Kits provide the following disks OPOSDOC Self depressed file containing the documents to install TEC OPOS Control JAAXDIST AXDIST DLL related to Java made by Microsoft Microsoft provides it as the distributable DLL using Visual C Any machines installing this DLL do not need to
100. es and the registry Character sets for each country are defined in DRJST 51 The registry Country can accommodate the variety of character sets for each country Characters ranging from 0x20 to 0x7F are used and part of them are allocated to graphic characters for each country and application The allocated area is the following twelve characters 0x23 0x24 0x40 0x5B to 0x5E 0x60 0x7B to 0x7E See DRJST 51 HW reference manual for detail RAA 00440 On CharacterSet and CharacterSetList property DRJST 51 printer has 9 pages of character code table ranging from 0x00 to OxFF Standard character set is defined for codes ranging from 0x00 to 07F with the same characters for 9 pages and specific character set for DRUST 50 is defined for codes ranging from 0x80 to OxFF For example symbol characters Katakana and Hiragana are defined in this range See DRJST 51 HW reference manual RAA 00440 for detail Switching of these nine pages of character codes is realized by changing CharacterSet ChacterSetList property shows that numbers from 190 to 198 can be specified The relation between CharacterSet and the page is as follows Page setting is also available in font type setting Table 90 DRJST51S CharacterSet Property value Action of slip printer BeginInsertion method Prepares to receive slip forms Timeout value can be specified in a minute Open the insertion opening for slip forms if it is not Due to the insertion monitoring for slip forms t
101. ethod Top logo print ESCitL Bottom logo print ESCIbL ESC sL Multiple line print ESC IF Operable signifies the lines to be fed Single line feed ESC uF Operable signifies the number specified by MapMode Escape sequence operable during printing Es sequence operable when printing Name BE ESS Bold Underline ESC uC Operable signifies the underline width O No underline 1 Thin underline 2 Thick underline talic Red character Reversed character Shaded character Single width character Double width character character character Horizontal ESC hC Operable magnification signifies the horizontal magnification 0 150 Single magnification 151 Double magnification Vertical magnification ESC vC Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 66 signifies the vertical magnification 0 150 Single magnification 151 Double magnification Center aligned ESCICA Right aligned ESCIrA ESC N Table 41 TRST53P POS Printer Control Escape sequence 8 3 3 CheckHealth Specification 1 Internal Level OQPOS_CH_INTERNAL Value ResultCode CheckHealth Text Meaning OPOS_SUCCESS Intemal HCheck Successful Connected OPOS E FAILURE Intemal HCheck Error Not connected OPOS E DISABLED HCheck Disabled Device is disabled OPOS E NOTCLAIMED HCheck Exclusive Exclusive error Note When the other device than a POS printer is connected to the specified
102. f 1 inch eSpacin lpLineWidth R Y LineWidth XxxLineHeight 9 620 2665 179 MapMode PTR_MM_ENGLISH0 0001 inch XxxLineSpacing SloLineWidth R J LineWidth XxxLineHeight 166 124 MapMode PTR_MM_METRIC 0 01 mm LineSpacing SlpLineWidth R J LineWidth XxxLineHeight 10970 4701 317 Table 77 DRJST50S Properties linked with MapMode 2 Notes on escape sequence The escape sequence of form cut only works after feed if it is set in the print method I El R 4 Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 15 Therefore it must be set after feed escape sequence or Line Feed 10 to property operate Double height and double width escape sequence will be processed as double width sequence because the double height attribute is not supported Double height escape sequence is processed as a normal character because double height attribute is not supported On print method operation DRJST 50 does not start print operation until print data for one line is determined Not all data will be printed unless print method ends with Line Feed 10 On events StatusUpdateEvent occurs corresponding to cover open near end of TRUST 50 It also reports that it has been resumed to normal status The action differs from that of TRJIST 50 P Variety of character sets for countries and the registry Character sets for each country are defined in DRST 50 The registry Country can accommodate the variety of characte
103. f LIUST53 Line Display 2 Character sets for country code Character sets for each country are defined in LIUST 52 Characters ranging from 0x20 to Ox7F are used and part of them are allocated to graphic characters for each country and application The allocated area is the following twelve characters 0x23 0x24 0x40 0x5B to 0x5E 0x60 0x7B to 0x7E 3 ScreenMode LIUST 53 allows fourth of screen mode selection Property value of each screen mode is as follows e 42 Table 20 Screen mode of LIUST53 Line Display Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 36 6 Keylock 6 1 PKBST Keylock Control PKBST 6 1 1 Models for support PKBST 50 PKBST 51 LKBST 56 6 1 2 Functions Common property ControlObjectDescription TEC OPOS Keylock Control Object 0 E ATA ControlObjectVersion 41011000 ServiceObjectDescription TEC OPOS Keylock Service Object ControiObjectVersion SericeObjectDescription ServiceObjectVersion 41011000 Keylock on PKBST 5x POS Keyboard PKBST Special properly PosiionCount CO Table 21 List of PKBST Keylock Control Property value 6 1 3 CheckHealth Specification 1 Internal Level OPOS_CH_INTERNAL Value ResultCode CheckHealthText Meaning OPOS E ILLEGAL Intemal HCheck lllegal Not support 2 External Level OPOS_CH_EXTERNAL Value ResultCode CheckHealthText Meaning OPOS_SUCCESS Extemal HCheck Successful
104. functions o o ooooooooo 42 Table 28 List of TRIST52P POS Printer Control Property valle 44 Table 29 TRJST52P POS Printer Control Escape sequence o oo ooooooo 46 Table 30 TRJST52P POS Printer Control Registry 0 cece eee 48 Table 31 TRUST52P Properties linked with fonts 0 0 0 cece eee eee 49 Table 32 TRJST52P Character size of Width parameter 0 00a eee 49 Table 33 TRUST52S POS Printer Control functions o oooooooooooo 52 Table 34 List of TRJST52S POS Printer Control Property Value 54 Table 35 TRJST52S POS Printer Control Escape sequence o co ooooooo 56 Table 36 TRJST52S POS Printer Control RegisStIY 0 oo ooocooocoooooo 58 Table 37 TRIST52S Properties linked with fonts 0 ooooocooooomooo 59 Table 38 TRJST52S Character size of Width parameter o ooo ooo 59 Table 39 TRST53P POS Printer Control functions 62 Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 Table 40 List of TRST53P POS Printer Control Property value 64 Table 41 TRST53P POS Printer Control Escape SequenCe o ocoooooooo 66 Table 42 TRST53P POS Printer Control Registry 0 ooooocooocoooooo 68 Table 43 TRST53P Properties linked with fonts or MapMode 68 Table 44 TRST53P Character size of Width parameter o oooooooo o 69 Table 45 TRST53P Print data of UP
105. g Quen nat hod Nrnal termneti on PoverNoti fy property P PN WAED Nrnal termneti on Devi cena ed property TRLE Nrnal termreti on Petri evi ny the PowerState propa OCS PS QUI NE Retri evi ng the UPSthargeState proper P R UPS FUL Paling Retrieving the PoverState property OCS PS EF CFI NE Retri evi ng the Phr e proper P R UPS FULL Plig i 2 3 oi T q E OCS PS OF FL NE Retri evi ng the UStrargeState proper PVR US CA TICA TOSHIBA TEC CORPORATION EAA 01376 IB Status check Qline US FUL Message Gfline US FUL Message Gfline US ner ed Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 DO 10 29 Error Code List The OPOS control notifies the user of the result of an execution of method or properties setting The following tables show the list of the error codes to be notified each meaning and a resolution if it needs to be corrected Regarding the CheckHealth method refer to Section 1 1 4 CheckHealth method specification Result codes and their corresponding values oos SUCCESS o o oos Ecos o osecamo 1a OPOS E NOTCLAMED o i woo m 7 oos ons seor 022 oos E OFFLINE o TSC oPose noxe O o fo o oPos E Faen O foo y 101 102 103 104 105 106 108 109 111 Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 17 1 Open method The result of the processing is notified by using the return code and the OpenResult property In case of Norm
106. g by sending font change escape sequence Changes will be reflected on both the receipt amp the joumal MapMode PTR_MM_DOTS Dot width eodineMeight oxLineChars MapMode PTR_MM_TWIPS 1 1440 of 1 inch E oee o oein m oe E DESNE CHEN MapMode PTR_MM ENGLISH 0 0001 inch o T nehe oalineChars MapMode PTR_MM_METRIC 0 01 mm Prine Height Condense A Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 49 Table 31 TRJST52P Properties linked with fonts 2 Writable properties that affect fonts xxxLineChars change will affect the font The value set on xxxLineChars will be adjusted to the nearest and greater value than the value specified and affect the font Font change will also affect xxxLineHeight value Change of xxxLineHeight will affect the font IfxxxLineHeightis less than 24 FontB will be effective and otherwise FontA will be effective 3 About PrintBarCode method When the absolute position is specified by Alignment parameter of PrintBarCode method right alignment print is assumed due to the restriction of the printer itself The value specified by Width parameter will be converted into three varieties as shown below Less than 3 4 of paper with Mes AB gt Table 32 TRJST52P Character size of Width parameter Please print the UPC E barcode with the check digits Not with the leading character 0 for adjustment of transmission digits UPC E BARCODE0X X2 X3
107. handles bit maps and bit map files handled by PrintBitmap have the restriction to handle only the monochrome Though SetBitmap allows two bit maps to be set by specification this control allows only one As this bit map is cached in the printer itself and is printed by bit map print escape sequence the bit map set by a process will be shared by all other processes opened In some cases printing a line may not complete if interrupted by ClearOutput during bit map printing Considering that it is recommended that Line feed 10 of feed escape sequence be sent if interrupted by ClearOutput Notes on escape sequence Escape sequences of form cut bit map print center alignment and right alignment with print methods are only effective after form feed Therefore they must be placed after feed escape sequence or Line Feed 10 to function properly On print method operation TRST 56 does not start print operation until print data for one line is determined Not all 87 Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 7 data will be printed unless print method ends with Line Feed 10 Difference between Windows95 98 and Windows NT Service objects provided for Windows95 98 and Windows NT are different The following are the files Windows NT TRJST56P dll Windows95 98 TRJST56P95 dll On events On Windows95 98 StatusUpdateEvent occurs corresponding to cover open no paper of TRST 56 It also reports that it has been re
108. he control will not be returned until the form is inserted or timeout occurs OPOS_SUCCESS will be retumed if the slip form is inserted within the specified time Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 14 2 Endlnsertion method OPOS SUCCESS is immediately retumed Never forget to execute Endinsersion method after issuing BeginInsersion method Sheet Slip and Joumal Receipt check of the print method will be enabled If print method is issued to a receipt without issuing this method the device malfunctions After this method is issued printing to receiptjoumal ends up with an error 3 BeginRemoval method OPOS_SUCCESS is retumed by monitoring no slip forms after feeding forms in reverse direction Timeout value can be specified in a minute 4 EndRemoval method No visual action is performed OPOS_SUCCESS will be immediately retumed OPOS_E EXTENDED is retumed if the form is detected and OPOS_EPTR_SLP_ FORM is set to ResultCodeExtended If no form is detected OPOS_SUCCESS is retumed Issue this method after executing BeginRemoval method 5 Closing the form orifice The orifice does not close by issuing slip related methods It is automatically closed by issuing print method to a receipt or journal after the slip feed process is completed As stated above be careful to use the slip printer methods because they must be issued in the predetermined sequence Application User s Manual TOSHIBA TEC CORPORATION
109. il print data for one line is determined Not all data will be printed unless print method ends with Line Feed 10 On events StatusUpdateEvent occurs corresponding to close to no paper It also reports that it has been resumed to normal status The event for cover open does not occur As DRJST 51 parallel printer cannot decide whether no paper has occurred on the receipt or the journal in the case of no paper it generates StatusUpdateEvent and changes relevant properties for both the receipt and the journal In the case ErrorEvent receipt error is assumed Variety of character sets for countries and the registry Character sets for each country are defined in DRJST 51 The registry Country can accommodate the variety of character sets for each country Characters ranging from 0x20 to Ox7F are used and part of them are allocated to graphic characters for each country and application The allocated area is the following twelve characters 0x23 0x24 0x40 0x5B to 0x5E 0x60 0x7B to 0x7E See DRUST 51 HW reference manual for detail RAA 00440 On CharacterSet and CharacterSetList property DRJST 51 printer has 9 pages of character code table ranging from 0x00 to OxFF Standard character set is defined for codes ranging from 0x00 to 07F with the same characters for 9 pages and specific character set for DRUST 50 is defined for codes ranging from 0x80 to OxFF For example symbol characters Katakana and Hiragana are define
110. inking Device brightness control Display in teletype mode Table 7 LIUST51 Line Display Control functions apy OOS Demos Winds SSS CAN A LA PA Table 8 List of LIUST51 Line Display Control Property value 5 1 3 CheckHealth Specification 1 Internal Level OPOS_CH_INTERNAL Value ResultCode CheckHealthText Meaning OPOS_SUCCESS Intemal HCheck Connected Successful OPOS E NOTCLAIMED HCheck Exclusive Exclusive error 2 External Level OPOS_CH_EXTERNAL Value ResultCode CheckHealthText Meaning OPOS_SUCCESS Extemal HCheck Complete Successful OPOS E TIMEOUT Extemal HCheck Error Device busy OPOS E NOTCLAIMED HCheck Exclusive Exclusive error Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 2 3 Interactive Level OPOS_CH_INTERACTIVE Displays the following dialog box and confirms that the check box will be successfully displayed by clicking each command button Indicates ANK code button 20h 7Eh display will be scrolled by one line Display for Indicates Discription button for Descriptor Select OK button or NG button by visually checking the result Line Display Interactive CheckHealth Line Display Image Indicates ANK Code e Ded 2 aa Soo LS A r Indicates A es Discriptors Value ResultCode CheckHealthText Meaning OPOS_SUCCESS Interactive HCheck Successful Successful OK button was clicked OPOS E FAILURE Interactive HCheck Erro
111. ion String Description Normal End Data reading crowded success Start Error Reading crowded failure Start Error LRC Error Reading crowded failure LRC Error No Data No data Return value and ResultCode property Value ResultCode CheckHealthText Meaning OPOS_SUCCESS Interactive HCheck Successful Successful completion OK button was clicked OPOS E FAILURE Interactive HCheck Data Error Error Start LRC Error NG button was clicked OPOS E NOHARDWARE HCheck Not Support Not Support OPOS E NOTCLAIMED HCheck Exclusive Exclusive error Note The last input is always valid for CheckHealthText 7 14 OPOS Registry keeps configuration information as follows HKEY_LOCAL_MACHINEYSOF TWAREYOLEforRetal SeviceOPOSYMSR MICRST Standard TECST5500 MSR Service CYOPOSYTECYSt5mer dll Description TEC MSR on PKBST 5x POS Keyboard Version 42 File name of the service object Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 41 Description Brief explanation of the service object Description version of the service object Table 26 MCRST MSR Control Registry 715 Precautions and restrictions 1 About JIS Type ll card Data of the JIS Type card read will be processed as data of track 1 Data of ISO track1 will also be stored to the same property Decoding and field split will be automatically decided and processed PKBST 50 51 has two kinds of card reading heads which nev
112. is sd a a Dele ete Y 15 3 2 1 Installation POSTS ad ME et y 15 3 2 2 Installation Methods 00 cece cece eee eee e eens 15 3 2 3 Interactive Installation 0oooooooooorrorrrr e eens 16 3 24 Silent Instalan iii o A ee a 16 4 IDA Weapon Ee oes 17 4 1 DRWST Cash Drawer Control 7DRWST cece eee eee 17 4 1 1 Models for support cava cence ora a etn 17 4 1 2 ERIN ad A a E TAN 17 4 1 3 CheckHealth Specification 0 2 0 cece cece eens 17 4 14 OPOS REGU ys tei theyre aie ea o e da e cede 18 41 5 Restrictions and precautionS 6 cece eee eee eens 19 42 DRWST Cash ControlEX DRWEX 200 c eee eee 19 4 2 1 Models for support cat E ie ee a wee ee 19 4 2 2 FUNCIONS ee SI Aa 19 4 2 3 CheckHealth Specification o ooooooccoocorrrorr o 19 4 24 OPOS REGIST Corera eines car oe eco esas Na 19 425 Precautions and restrictions 6 0 2 eee eee eens 20 5 gt Ene Displays re ea al oda ees a We alee Stand pasta AAA 21 5 1 LIUST51 Line Display Control LIUST517 0c cece eee 21 5 1 1 Models f r support 25 aside Cid cca teeta p Yop ea teed tea erie tn E esther 21 5 1 2 FUNCIONS a ci accel e A e E 21 5 1 3 CheckHealth Specification 2 00 cece eects 21 5 1 4 PRECIO SOSCICAION senda dd 22 5 1 5 OPOS REGS sac ue Sate th hare eee ay tod 23 5 1 6 Precautions and restrictions ctra Sat Roc wen MAN esha Weds i 24 52 LIUST51Ex Line Display Control LIUST51 EX eee eee 25 5 2 1 Models for
113. ist FontA Condense FontB JmLineChars JmLineCharsList JmLineHeight JmLineSpacing JmLineWidth RecLineChars 32 by default RecLineCharsList 32 41 46 RecLineHeight 24 by default RecLineSpacing 30 by default RecLinesToPaperCut 8by default RecLineWidth 416 by default RecSidewaysMaxChars RecSidewaysMaxLines 16 SlpBarCodeRotationList SlpLineChars SlpLineCharsList SlpLineHeght SlpLinesNearEndToEnd SlpLineSpacing SlpLineWidth SlpMaxLines Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 137 SpSidenaysVaChas E INN SpSidewayMaxLines woa O Table 92 List of TPR158P POS Printer Control Property value Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 18 Escape sequence operable only when specified a eS Form cut ESC P Operable signifies the percentage to be cut 0 100 Full cut Feed and form cut ESC fP Operable signifies the percentage to be cut 0 100 Full cut RecLinesToPaperCut property shows the number of lines to be fed Therefore the paper will be cut at the next line from the line printed Feed amp form cut ESC sP Notoperable amp stamp print Bit map print ESC B Operable signifies the bit map number 1 can be specified The bit map can be registered by SetBitmap method Multiple line print ESC IF Operable signifies the lines to be fed A peon signifies the number specified by MapMode Escape sequence operable during printing Esca
114. itor service in accordance with each OS must have been installed To use the sensor function the sensor DLL and sensor driver must have been installed in accordance with each OS When not using these functions an installation of the library driver is not recommended 2 ShutdownPOS method Be sure to terminate the all applications before calling this method Failure to do this may destroy data When the Close method is called after this method a shutdown of the OS is started in order to start a shutdown of the OS after saving the all data of the applications which call this method To use this function the UPS function must have been installed 3 Shutdown processing A shutdown processing is executed when the Close method is called after performing the ShutdownPOS method During power break a shutdown processing will be automatically started in the specific time set by the EnforcedShudownDelayTime property The function that the POS terminal automatically shuts down when the last application s power management is closed during power break is not supported To use this function the UPS function must have been installed 4 EnforcedShutdownDelayTime property Unless the setting value is O zero the POS terminal automatically shuts down in the specified time But the automatic shutdown is not notified to the applications Therefore the specified time should be long enough to terminate the applications To use this function the UPS function mu
115. kHealth Text Meaning OPOS SUCCESS Internal HCheck Successful Connected OPOS E FAILURE Intemal HCheck Error Not connected OPOS E DISABLED HCheck Disabled Device is disabled OPOS E NOTCLAIMED HCheck Exclusive Exclusive error Note When the other device than a POS printer is connected to the specified port Intemal Successful may be stored in CheckHealthText because only READY signal is checked Extemal Level OPOS_CH_EXTERNAL Value ResultCode CheckHealth Text Meaning OPOS_SUCCESS Extemal HCheck Successful Successful completion OPOS E FAILURE Extemal HCheck Error Printer error OPOS E BUSY Extemal HCheck Busy Device busy OPOS E DISABLED HCheck Disabled Device is disabled OPOS E NOTCLAIMED HCheck Exclusive Exclusive error Application User s Manual TOSHIBA TEC CORPORATION 3 Interactive Level OPOS_CH_INTERACTIVE EAA 01376 47 Displays the following dialog box to confirm successful printing to the POS printer by clicking each command button Select OK button or NG button by visually checking the result POS Printer Interactive Check Health Command Print ASCII Code Print H Feed Cut Printer Status Paper End Error The dialog box will not be displayed when the device is operating Value ResultCode CheckHealth Text OPOS_SUCCESS Interactive HCheck Successful OPOS E FAILURE Interactive HCheck E
116. l DeviceName Connection Device 8 9 5 1 Possible set up with a control panel Table 82 DRJST51P POS Printer Control Registry Precautions and restrictions Properties linked with MapMode As MapMode change affects the unit of length properties will be changed accordingly All the properties are constants and not to be changed MapMode PTR_MM_DOTS Dot width XxxLineSpacing SloLineWidth R J LineWidth XxxLineHeight 2 To f 9 z XxxLineSpacing SloLineWidth R J LineWidth XxxLineHeight 240 2767 MapMode PTR_MM_ENGLISH0 0001 inch XxxLineSpacing SloLineWidth R J LineWidth XxxLineHeight 166 4228 MapMode PTR_MM_METRIC 0 01 mm XxxLineSpacing SloLineWidth R J LineWidth XxxLineHeight apMode PTR_MM_TWIPS 1 1440 of 1 inch A 10739 Table 83 DRJST51P Properties linked with MapMode Notes on escape sequence The escape sequence of form cut and stamp only works after feed if it is set in the print method Therefore it must be set after feed escape sequence or Line Feed 10 to properly operate Double height and double width escape sequence will be processed as double width sequence because the double height attribute is not supported Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 124 g Double height escape sequence is processed as a normal character because double height attribute is not supported On print method operation DRJST 51 does not start print operation unt
117. l panel BaudRate Baud rate 4200 2400 4800 9600 19200 Possible set up with a control panel Character Character size bits per character 7 4g Possible set up with a control panel Parity Number of parity bits None Odo Even Possible set up with a control panel Stopbit Number of stop bits 17 715752 Possible set up with a control panel DataFormat Bar code data format 0 Anything not add to send receive data 1 Add CR lastly of send receive data 2 Add ETX lastly STX firstly of send receive data 3 Anything not add to send data Add CR to receive data Possible set up with a control panel Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 147 DeviceName Connection Device HS520RS HS 380 RS HS 520 RS HS R10 RS LS750RS LS 750 RS LS 770 RS LS120RS LS 120 RS TM3001RS TM3001 Possible set up with a control panel DeviceDescription Brief explanation of the device ScannerWriteBusyCheck Busy check method at scanner control No Not Flow control DSR Flow control depending on DSR Possible set up with a control panel ScannerReadBusyCheck Busy check method at scanner read No Not Flow control CTS Flow control depending on CTS Possible set up with a control panel Table 98 RS Scanner Control Registry Similarly to a set up of device as a value of BaudRate Character Parity Stopbit DataFormat ScannerWriteBusyCheck ScannerReadCusyCheck is careful it no
118. lusive error Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 76 3 Interactive Leve OPOS_CH_INTERACTIVE Displays the following dialog box to confirm successful printing to the POS printer by clicking each command button Select OK button or NG button by visually checking the result POS Printer Interactive CheckHealth Command Print ASCII Code Print H Feed Cut Printer Status Hardware Error Error The dialog box will not be displayed when the device is operating Value ResultCode CheckHealthText Meaning OPOS_SUCCESS Interactive HCheck Successful Successful OK button was clicked OPOS E FAILURE Interactive HCheck Error Error NG button was clicked OPOS E BUSY Interactive HCheck Busy Device busy OPOS E DISABLED HCheck Disabled Device is disabled OPOS E NOTCLAIMED HCheck Exclusive Exclusive error 844 OPOS Registry keeps configuration information as follows HKEY_LOCAL_MACHINE SOFTWARE OLEforRetai ServiceOPOS POSPrinter TRST53S Standard TEC TRJST53 S Service C OPOS TEC TRUJST53S dll Description TEC TRST 53 Serial POS Printer Version 4 2 Port COM2 BaudRate 9600 TimeoutConstant g TimeoutMultiplier g Country US France Germany UK Denmark 1 Sweden italy Spain Japan Norway Denmark
119. mLineChars JmLineCharsList JmLineHeight JmLineSpacing JmLineWidth RecLineChars 48 by default RecLineCharsList 48 64 RecLineHeight 24 by default RecLineSpacing 34 by default RecLinesToPaperCut 4 by default RecLineWidth 576 by default RecSidewaysMaxChars RecSidewaysMaxLines 16 SlpBarCodeRotationList SlpLineChars SlpLineCharsList SloLineHeght SlpLinesNearEndToEnd SlpLineSpacing Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 82 SplineWdh EA SipMaxLines IA SipSidewaysMaxChars Oe SipSidewayMiaxLines AA O Table 54 List of TRST56P POS Printer Control Property value Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 83 Escape sequence operable only when specified Form cut ESC P Operable signifies the percentage to be cut Except 100 Partial cut 100 Full cut Feed and form cut ESC fP Operable signifies the percentage to be cut Except 100 Partial cut 100 Full cut RecLines ToPaperCut property shows the number of lines to be fed Therefore the paper will be cut at the next line from the line printed Feed amp form cut ESC sP_ Notoperable amp stamp print Bit map print ESC B Operable signifies the bit map number 1 canbe specified The bit map can be registered by SetBitmap method Top logo print ESCitL Bottom logo print ESCIbL ESC sL Multiple line print ESC IF Operable signifies the lines to be fed Single line feed ESC uF O
120. mark 2 11 Spain 2 12 Latin America 13 East Europe 14 IceLand 99 Japan 2 100 Japan Shift JIS Country codes will be restored when exclusively controlled OONDOARWD 5 Extended DisplayText method Command 104 pData Character attribute pString Display character string Functions as well as Display Text method with extended character attribute No contradiction arises even if itis used with other methods of OPOS specification Currently the following can be specified for character attributes O Reset Normal character 1 Blink 2 Reverse Mandatory conditions are Open Claim and DeviceEnabled An error occurs according to OPOS specification during marquee scrolling Functions the same way as the normal DisplayText method during teletype display Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 5 3 5 OPOS Registry Keeps configuration information as follows HKEY_LOCAL_MACHINEYSOF TWAREYOLEforRetal ServiceOPOSYL ineDisplay YLIUST52 Standard TEC LIUST52 S Service C OPOS TEC Liust52 dll Description LIUST 52 Line Display Version 42 Port COM1 COM8 BaudRate 9600 Country 0 14 99 100 ScreenMode Oy ls O File name of the service object Brief explanation of the senos object Port orma port a s up with a control panel Country Ea Code Characters ranging from 0x20 to 0x7F are used and part of them are allocated to graphic characters for each
121. mber 0 1 2 c 19 is assigned from left to right Lighting turning off light can control at Descriptor parameter of SetDescripter method by this number In case that DISP_SD_BLINK is specified at Attribute parameter OPOS E ILLEGAL error Descriptors blink function is not supported 2 percentage of the brightness and the brightness of physical device DeviceBrighiness property value n Brightness of LIUST 51 physical device Pa A EAS IA 41 60 60 Table 10 Brightness of LIUST51 Line Display 3 Character sets for country code Character sets for each country are defined in LIUST 51 Characters ranging from 0x20 to Ox7F are used and part of them are allocated to graphic characters for each country and application The allocated area is the following twelve characters 0x23 0x24 0x40 0x5B to 0x5E 0x60 0x7B to 0x7E Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 25 5 2 LIUST51Ex Line Display Control LIUST51 EX In order to connect with it for LIUST 51 Line Display 2units of extension LIUST51 Line Display Control For a function quite similarly to as LIUST51 Line Display Control reference for LIUST51 Line Display Control 5 2 1 Models for support As LIUST51 Line Display Control similarly 5 2 2 Functions As LIUST51 Line Display Control similarly 5 2 3 CheckHealth Specification As LIUST51 Line Display Control similarly 5 24 DirectlO Specification As LIUST51 Line Display Control similarly 525 OPOS
122. n User s Manual TOSHIBA TEC CORPORATION EAA 01376 Change of xxxLineHeight will affect the font If xxxLineHeight is less than 24 FontB will be effective and otherwise FontA will be effective lt Read only gt xxxLineWidth is not affected by font but is affected by MapMode and changes 3 About PrintBarCode method When the absolute position is specified by Alignment parameter of PrintBarCode method right alignment print is assumed due to the restriction of the printer itself The value specified by Width parameter will be converted into three varieties as shown below Less than 1 2 of paper width Less than 3 4 of paper with Me TB More Table 51 TRST53S Character size of Width parameter Set the print data as shown below for UPC E bar code print UPC E bar code _0 X X2 Xs X4 X Xs C D Value of X6 OX Xe X000 0X X X OX X X 00000 X Xs OX Xo X Xy Xs 00 00 Print data format must be set as shown above with X value Print data consists of eleven digits Table 52 TRST53S Print data of UPC E bar code 4 Bitmaprelated methods and bit map print escape sequence SetBitmap which handles bit maps and bit map files handled by PrintBitmap have the restriction to handle only the monochrome Though SetBitmap allows two bit maps to be set by specification this control allows only one As this bit map is cached in the printer itself and is printed by bit map print escape sequence the bit map set by a process will be share
123. ne or two digits and vary eo on the devices to be connected Bar code system HS530UB HS520RS UPC A A A UPC E E E EAN 13 E EAN 8 EE ce JANS di UPC D1 UPC D2 UPC D3 UPC D4 UPC D5 2 of 5 Standard 2 of 5 Interleaved CODABAR NW CODE39 CODE93 CODE128 ISBN code OCR B FP N N T K Common Magazine Code OCR B A Table 109 ScanData Pro mbolic Character and Device The number of digits indicates that of the bar code data in two digits In case of the UPC and EAN bar codes the number of digits is omitted Barcodesystem UPC A UPCE PANS O UPCDI UPCD2 UPC D3 _ D UPC D4 UPCD5 20f5Standard_ H 2of5intereaved CODABAR NW 7 CODES9 CODESS CODE128 Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 156 Bar code data indicates the data of bar code itself The data format is never edited by the Control As the data format complies to the definition by the device if the device setting is changed the current format will not apply to the table below The following format is applied when operating in accordance with the device default values SX Xo X3 Xu Xe Xe X7 Xe Xo Xio C D 12 digits with C D 7 digits without C D Y1 Yo Xy Xo Xe X Xs Xe X7 Xe Xo X10 C D 13 digits with C D EAN 8 Y Yo Xy Xe Xs X4X5 C D 8 digits with C D SX Xo Xa Xs Xe Xe X7 Xe Xo Xio C D Xa Xo Xe Xa Xe supplemental code UPC Dx X Xo Xs X X War Without start stop code Wit
124. ner driver 1 TEC serial driver Multi interrupt driver OCIApot OCIApot Multi MultiCOM SIO SIO 1 Supports for domestic Version For Windows NT the following will be installed other than the specified drivers e Control Panel and documents for the WindowsNT POS Driver With the OPOS Control CO SO diskthe CO and the SO described in Table 2 All devices supported by TEC OPOS Control will be installed The following methods of installation are supported Development environment OPOS Control Object CO Installs the C C Visual Basic Include file h bas The OCX should be installed usually to compile the application Used to develop the application on the normal PCs Execution environment OPOS Control Object CO OPOS Service Object SO TEC OPOS Control Panel Applet TECOPOS CPL Installs the CheckHealth Application Operation checking program It can generate the environments for the application to work in and to perform the tests and to configure Both development OPOS Control Object CO and execution environments OPOS Service Object SO TEC OPOS Control Panel Applet TECOPOS CPL Installs the CheckHealth Application Operation checking program C C Visual Basic Include file h bas Possible to Work on POS Terminals and develop with operating debugger 3 24 Silent Installation User has to compile the initialization file ini in order to perform the silent installation Now this procedure is not relea
125. nt Two color print Bar code print bitmap print Italic print Form cut Reversed character Multiple line feed Single line feed Shaded character Center aligned Right aligned Left right rotation print Bold Double width amp height character Inverted print Left and right rotational print Synchronous Asynchronous print Error report Escape sequences c Left and right rotational print is possible only when the firmware supports page mode Table 33 TRJST52S POS Printer Control functions TEC TRIST 505 apy SSS 52 Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 53 CapRecBold CapRecDhigh CapRecDwide CapRecDwideDhigh CapRecEmptySenser CapRecltalic CapRecLeft90 CapRecNearEndSensor CapRecPapercut CapRecRight90 CapRecRotate180 CapRecStamp CapRecUnderline CapSloPresent CapSloFullslip CapSlp2Color CapSlpBarCode CapSlpBitmap CapSloBold CapSipDhigh CapSloDwide CapSloDwideDhigh CapSlpEmptySenser CapSlpltalic CapSlpLeft90 CapSlpNerEndSenser CapSlpRight90 CapSloRotate180 CapSloUnderline CharacterSet CharacterSetList FontT ypefaceList JmLineChars JmLineCharsList JmLineHeight JmLineSpacing JmLineWidth RecLineChars RecLineCharsList RecLineHeight RecLineSpacing RecLinesToPaperCut RecLineWidth RecSidewaysMaxChars RecSidewaysMaxLines SlpBarCodeRotationList SlpLineChars SlpLineCharsList SloLineHeght SlpLinesNearEndToEnd SlpLineSpacing TRUE TRUE TRUE TRUE TRUE FALSE FALSE FALSE TRUE
126. o be connected Table 107 USB Scanner Control Property Value List 94 3 CheckHealth Specification As USB Scanner Control similarly 944 OPOS Registry The following configuration information is retained HKEY LOCAL_MACHINE SOFTWAREYOLEforRetail ServiceOPOS Scanner YUSBSCANNER EX Standard Service Description Version DisconnectErrorDelay Time ProductlD VendorlD DataFormat 1 DeviceName DeviceDescription DeviceFileName TEC USBSCANNER EX C OPOS TEC USBSCNEX DLL TEC USB Scanner EX 212 4000 6 PT Usually omitted 2214 Usually omitted PL Y HS530UB HS 530 UB USB Scanner ee 1 These values need to be set as same as the device setting values Omitted because the descriptions are the same as those for USB Scanner Control 945 Precautions and restrictions As USB Scanner Control similarly Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 1p 10 POS Power 10 1 POS Power Control PWMG 10 1 1 Models for support 10 1 2 Functions FEnforoadShutdownDeaytime O QuidkCharge Time O Table 102 List of POS Power Control Properties and Values 10 1 3 CheckHealth Specification 1 Internal Level OPOS_CH_INTERNAL Value ResultCode CheckHealthText Meaning OPOS E ILLEGAL Intemal HCheck lllegal Not support 2 External Level OPOS_CH_EXTERNAL Value ResultCode CheckHealth Text Meaning OPOS_SUCCESS Extemal HCh
127. occurs OPOS_SUCCESS will be returned if the slip form is inserted within the specified time 2 Endlnsertion method OPOS_SUCCESS is immediately retumed Never forget to execute Endinsersion method after issuing BeginInsersion method Sheet Slip and Journal Receipt check of the print method will be enabled If print method is issued to a receipt without issuing this method the device malfunctions After this method is issued printing to receiptjoumal ends up with an error 3 BeginRemoval method OPOS_SUCCESS is retumed by monitoring no slip forms after feeding forms in reverse direction Timeout value can be specified in a minute 4 EndRemoval method No visual action is performed OPOS_SUCCESS will be immediately retumed OPOS_E EXTENDED is retumed if the form is detected and OPOS_EPTR_SLP_FORM is set to ResultCodeExtended If no form is detected OPOS_SUCCESS is retumed Issue this method after executing BeginRemoval method 5 Closing the form orifice The orifice does not close by issuing slip related methods It is automatically closed by issuing print method to a receipt or journal after the slip feed process is completed As stated above be careful to use the slip printer methods because they must be issued in the predetermined sequence Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 117 8 9 DRJST51P POS Printer Control DRJST51P 8 9 1 Models for support DRJST 51 P Parallel printer 8 9 2 Func
128. ocess will be shared by all other processes opened Notes on escape sequence Escape sequences of form cut bit map print center alignment and right alignment with print methods are only effective after form feed Therefore they must be placed after feed escape sequence or Line Feed 10 to function properly On print method operation TPR 158 does not start print operation until print data for one line is determined Not all data will be printed unless print method ends with Line Feed 10 About one way printing and two way printing TPR 158 supports only one way printing Therefore JrnLetterQuality and RecLetterQuality are always set to TRUE Restrictions on left and right rotational print Restrictions against escape sequence Escape sequences that do not function in left and right rotation mode e Italic ignored e Red character ignored Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 Reversed character ignored Shaded character ignored Form cut ignored Stamp print ignored e Reverse feed ignored Escape sequences whose operation is not assured Font type specification Multi line feed Centering Right alignment Top logo print Bottom logo print Feed and paper cut Feed and cut and stamp print Unit feed Bit map print Available escape sequences e Single width Double horizontal width Double vertical width Double horizontal and vertical width Vertical scale Horizontal scale Normal Bold Font and limit
129. olumns x 32 character display Open is the only mandatory condition Old windows are all deleted when restructured Window No 0 becomes void OPOS E ILLEGAL error occurs during teletype display or marquee scrolling CENAS Brightness and country codes will be kept Old screen is cleared and the new device screen is redisplayed 4 Country code change Command 103 pData Country code Mandatory conditions are Open Claim and DeviceEnabled Country codes are same as those specified by escape characters 0 USA France Germany Great Britain Denmark 1 Sweden Italy Spain 1 Japan Norway 10 Denmark 2 11 Spain 2 12 Latin America 13 East Europe 14 IceLand 99 Japan 2 100 Japan Shift JIS Country codes will be restored when exclusively controlled OONDAKRWN 5 Extended DisplayText method Command 104 pData Character attribute pString Display character string Functions as well as Display Text method with extended character attribute No contradiction arises even if itis used with other methods of OPOS specification Currently the following can be specified for character attributes O Reset Normal character 1 Blink 2 Reverse Mandatory conditions are Open Claim and DeviceEnabled An error occurs according to OPOS specification during marquee scrolling Functions the same way as the normal DisplayText method during teletype display 545 OPOS Registry Keeps configuration information as follows Application
130. pData parameter and execute this command In case that the retrieved values of the temperature of the CPU the rotation speed of the CPU fan and the CPU voltage are 50 C 2000 rnom and 2 25 V respectively 50 2000 2250 is stored into the pString parameter Retum code Refer to Section 1 1 9 Error Code List Caution As the retrievable hardware information is updated at regular intervals the same values are retumed until the next update When the sensor function is not provided retrieving will always result in an error Reference The StatusUpdateEvent event notifies whether the temperature of the CPU is high or normal Also the StatusUpdateEvent event notifies whether the fan is rotating or not For details refer to Section 1 1 7 Limitations and Precautions Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 T0 2 DirectlOEvent Specification 1 Notification of the power switch status Function Notifies the power switch status Format Parameter Description EventNumber POWER EventNumber Switch PData Power switch status POWER_DIE_SWITCH_ON Power switch is on POWER _DIE_SWITCH_OFF Power switch is off PString Power switch status SWITCH ON Power switch is on SWITCH OP Power switch is off Explanation Requirement is Open PowerNotify OPOS PN_ENABLED DeviceEnabled TRUE The power switch status is notified Caution When the UPS function is not provided the power switch status is not
131. pe sequence operable when printing Name BE NS Bold Underline ESC uC Operable signifies the underline width O No underline 1 Thin underline 2 Thick underline talc Red character Reversed character Shaded character Single width character Double width character_ ESC 2C Double height character_ ESC 3C Double width amp height ESC 4C Operable character Horizontal magnification ESC hC Operable signifies the horizontal magnification 0 150 Single magnification 151 Double magnification Vertical magnification ESC vC Operable signifies the vertical magnification 0 150 Single magnification 151 Double magnification Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 I ESC cA Right aligned ESCIrA ESCIN Table 93 TPR158P POS Printer Control Escape sequence 8 113 CheckHealth Specification 1 Internal Level OPOS_CH_INTERNAL Value ResultCode CheckHealth Text Meaning OPOS_SUCCESS Intemal HCheck Successful Connected OPOS E FAILURE Intemal HCheck Error Not connected OPOS E DISABLED HCheck Disabled Device is disabled OPOS E NOTCLAIMED HCheck Exclusive Exclusive error Note When the other device than a POS printer is connected to the specified port Internal Successful may be stored in CheckHealthText because only READY signal is checked 2 External Level OPOS CH EXTERNAL Value ResultCode CheckHealth Text Meaning OPOS_S
132. perable signifies the number specified by MapMode Escape sequence operable during printing Es sequence operable when printing Name Beit Bold Underline ESC uC Operable signifies the underline width O No underline 1 Thin underline 2 Thick underline talic Red character Reversed character Shaded character Single width character ESC 1C Operable Double width character ESC 2C character character Horizontal ESC hC Operable magnification signifies the horizontal magnification 0 150 Single magnification 151 250 Double magnification 251 350 3 magnification Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 e 351 450 4 magnification 451 550 5 magnification 551 650 6 magnification 651 750 7 magnification 751 800 8 magnification Vertical magnification ESC vC_ Operable signifies the vertical magnification 0 150 Single magnification 151 250 Double magnification 251 350 3 magnification 351 450 4 magnification 451 550 5 magnification 551 650 6 magnification 651 750 7 magnification 751 800 8 magnification Table 55 TRST56P POS Printer Control Escape sequence 85 3 CheckHealth Specification 1 Internal Level OPOS_CH_INTERNAL Value ResultCode CheckHealthText Meaning OPOS_SUCCESS Intemal HCheck Successful Connected OPOS E FAILURE Intemal HCheck Error Not connected OPOS E DISABLED HCheck Disabled Device is disabled OPOS
133. r Error NG button was clicked OPOS E NOTCLAIMED HCheck Exclusive Exclusive error 5 1 4 DirectlO Specification Extended specification using DirectlO method is supported 1 IDreading Command 100 pStringlD character string read is retumed The string is 15 bytes string sent by the device Mandatory conditions are Open Claim and DeviceEnabled 2 Unconditional direct output Command 101 pString Display character string Mandatory conditions are Open Claim and DeviceEnabled Direct output is produced unconditionally on the display regardless of running threads Use this output to perform special processing during teletype display or marquee scrolling 3 Country code change Command 103 pData Country code Mandatory conditions are Open Claim and DeviceEnabled Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 3 Country codes are same as those specified by escape characters USA France Germany Great Britain Denmark 1 Sweden Italy Spain 1 Japan Norway 10 Denmark 2 11 Spain 2 12 Latin America 13 East Europe OONDARWN O 14 Iceland 15 Greek 16 Greek 2 17 Cyrillic 99 Japan 2 Country codes will be restored when exclusively controlled 4 Extended DisplayText method Command 104 pData Character attribute pString Display character string Functions as well as Display Text method with extended character attribute No contradiction arises even if itis used with other methods of OPOS spe
134. r CapSlpBarCode CapSlpBitmap CapSloBold CapSipDhigh CapSloDwide CapSlpDwideDhigh CapSlpEmptySenser CapSlpltalic CapSlpLeft90 CapSlpNerEndSenser CapSlpRight90 CapSloRotate180 CapSloUnderline CharacterSet CharacterSetList FontTypefaceList JmLineChars JmLineCharsList JmLineHeight JmLineSpacing JmLineWidth RecLineChars RecLineCharsList RecLineHeight RecLineSpacing RecLinesToPaperCut RecLineWidth RecSidewaysMaxChars RecSidewaysMaxLines SlpBarCodeRotationList SlpLineChars SlpLineCharsList SloLineHeght SlpLinesNearEndToEnd TRUE TRUE TRUE TRUE TRUE TRUE FALSE FALSE FALSE TRUE TRUE TRUE FALSE TRUE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE 932 850 932 999 FontA Condense FontB 32 by default 32 41 46 24 by default 30 by default 416 by default 32 by default 32 41 46 24 by default 30 by default 9by default 416 by default 16 Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 M SlpLineSpacing SlpLineWidth SlpMaxLines SloSidewaysMaxChars SlpSidewayMaxLines Table 28 List of TRJST52P POS Printer Control Property value Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 Escape sequence operable only when specified ea ee Form cut ESC P Operable signifies the percentage to be cut 0 100 Full cut Feed and form cut ESC fP Operable signifies the percentag
135. r sets for each country Characters ranging from 0x20 to 0x7F are used and part of them are allocated to graphic characters for each country and application The allocated area is the following twelve characters 0x23 0x24 0x40 0x5B to 0x5E 0x60 0x7B to 0x7E See DRST 50 HW Reference Manual for detail RAA 00401 On CharacterSet and CharacterSetList property DRJST 50 printer has 6 pages of character code table ranging from 0x00 to OxFF Standard character set is defined for codes ranging from 0x00 to 07F with the same characters for 6 pages and specific character set for DRJST 50 is defined for codes ranging from 0x80 to OxFF For example symbol characters Katakana and Hiragana are defined in this range See DRJST 50 HW reference manual RAA 00401 for detail Switching of these six pages of character codes is realized by changing CharacterSet ChacterSetList property shows that numbers from 190 to 195 can be specified The relation between CharacterSet and the page is as follows Page setting is also available in font type setting Table 78 DRJST50S CharacterSet Property value Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 1i Action of slip printer BeginInsertion method Prepares to receive slip forms Timeout value can be specified in a minute Open the insertion opening for slip forms if it is not Due to the insertion monitoring for slip forms the control will not be retumed until the form is inserted or timeout
136. rCodeRotationList SlpLineChars SlpLineCharsList SlpLineHeght SlpLinesNearEndToEnd SlpLineSpacing SloLineWidth SloMaxLines Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 B SipSidewaysMaxChars A SpSidewayMaxLines Ose ee Table 47 List of TRST53S POS Printer Control Property value Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 74 Escape sequence operable only when specified Form cut ESC P Operable signifies the percentage to be cut Except 100 Partial cut 100 Full cut Feed and form cut ESC fP Operable signifies the percentage to be cut Except 100 Partial cut 100 Full cut RecLines ToPaperCut property shows the number of lines to be fed Therefore the paper will be cut at the next line from the line printed Feed amp form cut ESC sP Not operable amp stamp print Bit map print ESC B Operable signifies the bit map number 1 can be specified The bit map can be registered by SetBitmap method Top logo print ESCitL Bottom logo print ESCIbL ESC sL Multiple line print ESC IF Operable signifies the lines to be fed Single line feed ESC uF Operable signifies the number specified by MapMode Escape sequence operable during printing Es sequence operable when printing Name Dele IN Bold Underline ESC uC Operable signifies the underline width O No underline 1 Thin underline 2 Thick underline alc Red character Rever
137. red Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 50 e Reverse feed ignored Escape sequences whose operation is not assured Font type specification Multi line feed Centering Right alignment Top logo print Bottom logo print Feed and paper cut Feed and cut and stamp print Unit feed Bit map print Available escape sequences e Single width Double horizontal width Double vertical width Double horizontal and vertical width Vertical scale Horizontal scale Normal Bold 2 Font and limit restriction against left and right rotational print Condensed print with font A causes malfunction in left and right rotational print mode Either font A or font B must be specified before printing in the left and right rotational print mode Font cannot be changed while printing Special limit restriction is applied to the left and right rotational printing Single character limit shown below must be observed for proper printing FontA No splitting on the 32nd n single character Font B No splitting on the 46th n single character 32 64 96 will be the limit characters for font A For example 32nd and 33rd could be one double width character which violates the restriction and causes malfunction The above restriction must be taken into consideration for print design 3 Firmware The firmware which does not support page mode may malfunction Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 51 9 On e
138. restriction against left and right rotational print Condensed print with font A causes malfunction in left and right rotational print mode Either font A or font B must be specified before printing in the left and right rotational print mode Font cannot be changed while printing Special limit restriction is applied to the left and right rotational printing Single character limit shown below must be observed for proper printing Font A No splitting on the 32nd n single character Font B No splitting on the 46th n single character 32 64 96 will be the limit characters for font A For example 32nd and 33rd could be one double width character which violates the restriction and causes malfunction The above restriction must be taken into consideration for print design Firmware The firmware which does not support page mode may malfunction 1B Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 m 9 On events On Windows95 98 StatusUpdateEvent occurs corresponding to cover open no paper of TPR158 It also reports that it has been resumed to normal status On Windows NT StatusUpdateEvent occurs in response to no paper status of TPR158 and does not occur for cover open Nor does CoverOpen property change When ResultCode of ErrorEvent is OPOS_OPOS EXTENDED the following value will be set to ResultCodeExtended OPOS_EPTR COVER OPEN OPOS_EPTR REC EMPTY Variety of character sets for co
139. rinter Version 4 2 Port LPT1 LPT2 DeviceName TPR158P Override Off On OnLineSW Of On TimeoutConstant g TimeoutMultiplier g Country US France Germany UK Denmark 1 Sweden Italy Spain Japan Norway Denmark 2 File name of the service object Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 AL Brief explanation of the service object version of the service object Port Communication port LPT1 LPT2 Possible set up with a control panel DeviceName Connection Device Country a Possible set up with a control panel Table 94 TPR158P POS Printer Control Registry 8 115 Precautions and restrictions 1 Properties linked with fonts Three kinds of fonts are supported Font related property will be changed to the following by sending font change escape sequence Changes will be reflected on both the receipt amp the journal MapMode PTR_MM_DOTS Dot width nehet nechas MapMode PTR_MM_TWIPS 1 1440 of 1 inch O o oe s nB TT 4 MapMode PTR_MM_ENGLISH 0 0001 inch eer ineHeight Condense A MapMode PTR_MM_METRIC 0 01 mm roxLineHeight Condense A Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 w2 8 1 200 Table 95 TPR158P Properties linked with fonts Writable properties that affect
140. rror OPOS E BUSY Interactive HCheck Busy OPOS E DISABLED HCheck Disabled OPOS E NOTCLAIMED HCheck Exclusive 8 14 OPOS Registry keeps configuration information as follows Meaning Successful OK button was clicked Error NG button was clicked Device busy Device is disabled Exclusive error HKEY_LOCAL_MACHINE YSOFTWAREYOLEforRetaiServiceOPOS POSPrinter TRJST52P Standard TEC TRJST52 P Service C OPOS TEC TRJST52P95 dll Description TEC TRJST 52 Parallel POS Printer Version 4 2 Port LPT1 LPT2 DeviceName TRJST52P Override Off On OnLineSW Of On TimeoutConstant 0 TimeoutMultiplier g Country US France Germany UK Denmark 1 Sweden Italy Spain Japan Norway Denmark 2 File name of the service object Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 48 Brief explanation of the service object version of the service object Port Communication port LPT1 LPT2 Possible set up with a control panel DeviceName Connection Device TRJST52P Country i Possible set up with a control panel Table 30 TRJST52P POS Printer Control Registry 8 1 5 Precautions and restrictions 1 Properties linked with fonts Three kinds of fonts are supported Font related property will be changed to the followin
141. rty value Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 7 Action of slip printer 1 BeginInsertion method Open the orifice for slip form if it is not open Time out value is not effective for monitoring the slip form insertion Therefore OPOS_SUCCESS will be immediately retumed After the slip form is inserted never forget to call Endinsersion method Endinsertion method OPOS_SUCCESS is immediately retumed Never forget to execute Endinsersion method after issuing BeginInsersion method Sheet Slip and Journal Receipt check of the print method will be enabled If print method is issued to a receipt without issuing this method the device malfunctions BeginInsersion After the method printing to a receipt without the slip sheet inserted fails If the slip form is inserted after this the slip form is fed forward and the data sent to the receipt will be printed Printing data to a receipt with the slip sheet inserted succeeds after feeding the slip form forward To avoid such operation BeginInsersion and Endinsersion are to be used in pairs With Endinsersion An error is issued by print method even if the different sheet is inserted BeginRemoval method After feeding the slip form backward OPOS_SUCCESS is retumed Issuing the method alone makes the mode feed mode and the device waits until the slip form is inserted Follow the correct procedure to issue the method Use the method with EndRemoval method EndRemo
142. sList 40 RecLineHeight RecLineSpacing RecLinesToPaperCut RecLineWidth RecSidewaysMaxChars RecSidewaysMaxLines SlpBarCodeRotationList SlpLineChars SlpLineCharsList SloLineHeght SloLinesNearEndToEnd SlpLineSpacing SlpLineWidth SlpMaxLines Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 119 SpSidewaysMaxChars SO SlpSidewayMaxLines ee ee Table 80 List of DRJST51P POS Printer Control Property value Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 10 Escape sequence operable only when OO Form cut ESC P om signifies the percentage to be cut 0 100 Full cut Feed and form cut ESC fP Operable signifies the percentage to be cut 0 100 Full cut ReclinesToPaperCut property shows the number of lines to be fed Therefore the paper will be cut at the next line from the line printed Feed amp form cut ESCHHsP Operable amp stamp print signifies the percentage to be cut 0 100 Full cut Paper is fed so that the stamp and printing data do not overlap And the cut position is adjusted between printing data and the stamp signifies the lines to be fed Single line feed ESC uF Operable signifies the number specified by MapMode Reverse feed print ESCH rF Not operable Escape sequence operable during A PAGES PAGES PAGEZ7 PAGES Escape sequence operable when T T A A Horizontal Operable magnification signifies the vertical magnification 0
143. sed character Shaded character Single width character Double width character character character Horizontal ESC hC Operable magnification signifies the horizontal magnification 0 150 Single magnification 151 Double magnification Vertical magnification _ ESC vC Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 B signifies the vertical magnification 0 150 Single magnification 151 Double magnification Center aligned ESCICA Right aligned ESCIrA ESC N Table 48 TRST53S POS Printer Control Escape sequence 8 4 3 CheckHealth Specification 1 Internal Level OPOS_CH_INTERNAL Value ResultCode CheckHealth Text Meaning OPOS_SUCCESS Intemal HCheck Successful Connected OPOS E FAILURE Intemal HCheck Error Not connected OPOS E DISABLED HCheck Disabled Device is disabled i OPOS E NOTCLAIMED HCheck Exclusive Exclusive error ote When the other device than a POS printer is connected to the specified port Internal Successful may be stored in CheckHealthText because only READY signal is checked 2 External Level OPOS_CH EXTERNAL Value ResultCode CheckHealthText Meaning OPOS_SUCCESS Extemal HCheck Successful Successful completion OPOS E FAILURE Extemal HCheck Error Printer error OPOS E BUSY Extemal HCheck Busy Device busy OPOS_E DISABLED HCheck Disabled Device is disabled OPOS E NOTCLAIMED HCheck Exclusive Exc
144. sed yet Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 17 4 Drawer 4 1 DRWST Cash Drawer Control DRWST 4 1 1 Models for support ST 5500 6400 6500 6500N DRWST 50 DRWST 51 ST 5600 DRWST 52 DRWST 53 ST 88 DRWAP 80 ST 90 DRWAP 80 DRWST 5x ST 60 DRWST 5x ST 7000 DRWST 51 DRWST 56 412 Functions Functions supported Functions not supported Drawer status report 1 1 Not support DRWAP 80 Table 4 DRWST Cash Drawer Control functions Value TEC OPOS Cash Drawer Control Object 1002000 TEC OPOS Cash Drawer Service Object 1002000 DRWST 5x Cash Drawer DRWST Common property ControlObjectDescription ControlObjectVersion ServiceObjectDescription 2 ServiceObjectVersion DeviceDescription 2 DeviceName 2 Special property CapStatus 1 TRUE 1 This function is FALSE in order not to be supported with DRWAP 80 2 content is different with Device Table 5 List of DRWST Cash Drawer Control Property value 41 3 CheckHealth Specification 1 Intemal Level OPOS_CH_INTERNAL Only open status of a drawer is checked The result is stored on CheckHealth Text property Value ResultCode CheckHealthText Meaning OPOS_SUCCESS Intemal HCheck Opened Drawer is open Internal HCheck Closed Drawer is closed OPOS E NOTCLAIMED HCheck Exclusive Exclusive error 2 Extemal Level OPOS_CH EXTERNAL Opens a drawer and store success on CheckH
145. splay Control LIUST53 5 4 1 Models for support LIUST 53 542 Functions Functions supported Functions not supported Horizontal and vertical marquee scroll Descriptor Device brightness control Display in teletype mode Display time delay Blinking per character device Screen Mode 2x 20 3x 32 4x 32 8x 42 Table 16 LIUST53 Line Display Control functions pea prapey S S CIT CAN DeviceDesorpions O 1 The value of DeviceRows and DeviceColumns vary depending on the screen mode Table 17 List of LIUST53 Line Display Control Property value 5 4 3 CheckHealth pecification 1 Internal Level OPOS_CH_INTERNAL Value ResultCode CheckHealthText Meaning OPOS_SUCCESS Intemal HCheck Connected Successful OPOS E NOTCLAIMED HCheck Exclusive Exclusive error 2 External Level OPOS_CH_EXTERNAL For a current DeviceRows 1 of a Line Display for the string sink from the right side TEC Line Display LIUST 5X OPOS CheckHealth Extemal Value ResultCode CheckHealthText Meaning OPOS_SUCCESS External HCheck Complete Successful OPOS E TIMEOUT Extemal HCheck Emor Device busy Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 32 OPOS E NOTCLAIMED HCheck Exclusive Exclusive error 3 Interactive Level OPOS_CH_INTERACTIVE Displays the following dialog box and confirms that the check box will be successfully displayed by clicking each command button Indicates ANK code button
146. st have been installed 5 Power status This control distinguishes between Online state ME and Off or offline state and notifies the user by the PowerState property and StatusUpdateEvent event To use this function the UPS function must have been installed NOTE 1 Online state indicates the condition that the OPOS SUE ONLINE is stored in the State parameter and the StatusUpdateEvent event occurs and that the OPOS_PS_ONLINE is stored in the PowerState property NOTE 2 Off or offline state indicates the condition that the PWR_SUE_OFF_OFFLINE is stored in the State parameter and the StatusUpdateEvent event occurs and thatthe OPOS_PS_OFF_OFFLINE is stored in the PowerState property 6 Response to an instantaneous power failure As operations at the time of power break is not guaranteed on this device there is no measure against an instantaneous power failure As soon as the power is cut off the POS terminal turns to Off or offline state NP To use this function the UPS function must have been installed NOTE Off or offline state indicates the condition that the PWR_SUE_OFF_OFFLINE is stored in the State parameter and the StatusUpdateEvent event occurs and that the OPOS_PS_OFF_OFFLINE is stored in the PowerState property Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 12 7 Battery status This control is able to notify the two battery statuses The battery is dead E
147. start stop codes CODABAR NW 7 CODE39 No start code stop code CODE93 No start code stop code No FNC code C D CODE128 No start code stop code No FNC code C D S Number system character O Leading character for transfer digit control C D Check digit Y Flag number character A start stop codes Table 100 Bar code data format Default value of HS520 LS750 LS120 system Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 150 Bar code system Bar code data ee 13 Digit C D O XXX XX XXX X XioX11C D 13 Digit C D Yo XX XX X5 XXXs X X100 D 13 Digit C D EAN 8 Y YoX XX 6C0 D JAN 8 8 Digit C D ISBN CODE ISBN4 afterward character S Number system character O Leading character for transfer digit control C D Check digit Y Flag number character A start stop codes 1 Addition for 0 for digit control regulations use 2 Conversion to UPC A version A Addition for 0 for digit control regulations use Table 101 Bar code data format Default value of TM3001 system 2 TM3001 Reading step 2 code possible but once occurrence for event at data event Following reference for property As Read a UPC EAN with SPPLEMENTAL CODE read at format that there aren t data of SPPLEMENTAL CODE A function of DeviceEnabled TRUE FALSE doesnt give an influence to a physical device Scanner is readable even though it does to DeviceEnabled FALSE but dont occur event Data around DeviceEnabled FAL
148. sult by command Command Retum code ResultCodeExtended Meaning Resolution ResultCode WER_DIO_GE T OPOS SUCCESS Os Nomalyteminated OPOS E CLOSED o o e ESE HARDWAREINFO OPOS E DISABLED Disabled Change the DeviceEnabled property to TRUE eee E ILLEGAL Invalid parameter is Specify an effective value specified for the pData parameter ie E FAILURE The sensor function has not lid E necessary Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 T 4 Other methods The result of the processing is notified by using the retum code ResultCode property and ResultCodeExtended property Retum code ResultCodeExtended Meaning Resolution ResultCode Claim OPOS SUCCESS 0 maty terminated ClaimDevice OPOS_E_CLOSED 0 Closed Open by the Open method access control is released OPOS E ILLEGAL Parameter is invalid Specify the correct parameter Release OPOS_SUCCESS o Normalyteminaed ReleaseDevice OPOS E CLOSED O a dP S S OPOS E ILLEGAL Exclusive access control is not retained IA A eee ResetStatistics OPOS E ILLEGAL When the This function is not available CapStatisticsReporting property or CapUpdateStatistics property is FALSE this function is not supported A ResultCode RetrieveStatistics OPOS E ILLEGAL When the This function is not available property is FALSE this function is not supported Application User s Manual TOSHIBA TEC CORPORATION
149. sumed to normal status On WindowsNT StatusUpdateEvent occurs in response to no paper status of TRST 56 and does not occur for cover open Nor does CoverOpen property change When ResultCode of ErrorEvent is OPOS_OPOS_ EXTENDED on both Windows95 98 and WindowsNT the following value will be set to ResultCodeExtended OPOS_EPTR_COVER_OPEN OPOS_EPTR_REC_EMPTY Variety of character sets for countries and the registry Character sets for each country are defined in TRST 56 The registry Country can accommodate the variety of character sets for each country Characters ranging from 0x20 to 0x7F are used and part of them are allocated to graphic characters for each country and application The allocated area is the following twelve characters 0x23 0x24 0x40 0x5B to 0x5E 0x60 0x7B to 0x7E Restrictions on left and right rotational print 1 Restrictions against escape sequence Escape sequences that do not function in left and right rotation mode e Italic ignored Red character ignored Shaded character ignored Form cut ignored Stamp print ignored e Reverse feed ignored Escape sequences whose operation is not assured Font type specification Multi line feed Centering Right alignment Top logo print Bottom logo print Feed and paper cut Feed and cut and stamp print Unit feed Bit map print Available escape sequences e Single width Double horizontal width Double vertical width Double horizontal and vertical width Ver
150. t Sat Without start stop code CODABAR NW AX A With start stop code a b c d CODE39 CODE93 Without start stop code Without FNC code without C D CODE128 Without start stop code Without FNC code without C D S Number system character Y Flag number character 0 Leading character for adjusting the number of digits to transfer C D Check digit A Start stop code Table 110_HS530 Series Bar Code Data Format Default Value 2 Decoding bar code When the DecodeData property is TRUE data inputted from the scanner can be divided into the ScanDataType property and ScanDataLabel property This function is available provided the scanner is at factory default settings When the scanner is other than at factory default settings proper data may not be set in the above two properties Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 157 3 Automatic recognition of scanner connection port Service Object automatically recognizes the scanner based on DeviceName specified in the registry However when two or more identical scanners are connected Service Object cannot identify the scanners based only on DeviceName and automatic recognition cannot be performed In such case refer to 4 4 Multiple connection of USB scanner Only when the system is either Windows2000 or WindowxXP two identical USB scanners are connectable However the second scanner needs to use Service Object for the extension USB scanner When identic
151. t to change For a control panel usefully from DeviceName value for the following default value automatic set up Default Value of each device lists it hereinafter HS520RS BaudRate 9600 Character 7 Parity Even Stopbit 2 DataFormat 2 ScannerWriteBusyCheck No ScannerReadBusyCheck CTS LS750RS BaudRate 9600 Character 7 Parity Even Stopbit 2 DataFormat 2 ScannerWriteBusyCheck DSR ScannerReadBusyCheck No LS120RS BaudRate 9600 Character 7 Parity Even Stopbit 2 DataFormat 3 ScannerWriteBusyCheck DSR ScannerReadBusyCheck CTS TM300 RS BaudRate 9600 Character 7 Parity Even Stopbit 2 DataFormat 2 ScannerWriteBusyCheck No ScannerReadBusyCheck No 9 1 5 Precautions and restrictions 1 Relation of ScanData property and device Data read from the scanner will be set to ScanData property Header information like STX character and terminator characters like EXT and CR will be eliminated All other data will be stored to the ScanData property Other data includes the following Symbol characters signifying bar code system Number of digits of bar code data ScanData has the following information and structure Symbol character Symbolic characters are used to identify bar code system and consist of one or two characters The following is the list showing the relation between bar code system and symbolic characters TM3001RS A E U
152. the restriction of the printer itself The value specified by Width parameter will be converted into three varieties as shown below Less than 45 ofpaperwidh Big SS Table 65 TRST56S Character size of Width parameter Set the print data as shown below for UPC E bar code print UPC E bar code 0 X X X Xi X Xs C D Value oi X6 0 0000XK OX Xe X 00000 X Xs OX Xo Xs Xi Xs 0000 Print data format must be set as shown above with X value Print data consists of eleven digits Table 66 TRST56S Print data of UPC E bar code 1 Bitmap related methods and bit map print escape sequence SetBitmap which handles bit maps and bit map files handled by PrintBitmap have the restriction to handle only the monochrome Though SetBitmap allows two bit maps to be set by specification this control allows only one As this bit map is cached in the printer itself and is printed by bit map print escape sequence the bit map set by a process will be shared by all other processes opened In some cases printing a line may not complete if interrupted by ClearOutput during bit map printing Considering that it is recommended that Line feed 10 of feed escape sequence be sent if interrupted by ClearOutput 2 Notes on escape sequence Escape sequences of form cut bit map print center alignment and right alignment with print methods are only effective after form feed Therefore they must be placed after feed escape sequence or Line Feed 10 to function
153. tical scale Horizontal scale Normal Bold Reversed character 1 Font and limit restriction against left and right rotational print Either font A or font B must be specified before printing in the left and right rotational print mode Font cannot be Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 changed while printing Special limit restriction is applied to the left and right rotational printing Single character limit shown below must be observed for proper printing FontA No splitting on the 78th n single character Font B No splitting on the 104th n single character 78 156 234 will be the limit characters for font A For example 78th and 79th could be one double width character which violates the restriction and causes malfunction The above restriction must be taken into consideration for print design Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 90 8 6 TRST56S POS Printer Control TRST56S 8 6 1 Models for support TRST 56 S Serial printer 8 6 2 Functions Printers supported Printers not supported Slip printer Batch processing Logo print Two color print Bar code print bitmap print Italic print Form cut Shaded character Multiple line feed Single line feed 1 203inch Left right rotation print Center aligned Right aligned Left and right rotational print Bold Double width amp height character Inverted print Reversed character Synchronous Asynchronous print
154. tions Joumal printer Recelpt printer Slip printer as validation Batch processing Logo print Two color print Stamp Italic print Form cut Reversed character Multiple line feed Single line feed Shaded character Double width character Left right rotation print Inverted print Bar code print Bitmap print Synchronous Asynchronous print Center aligned Right aligned Error report Bold Double height character Double width amp Escape sequences c height character Table 79 DRJST51P POS Printer Control functions pedal property Y Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 118 CapRecDwide CapRecDwideDhigh FALSE CapRecEmptySenser FALSE CapRecltalic FALSE CapRecLeft90 FALSE CapRecNearEndSensor TRUE CapRecPapercut TRUE CapRecRight90 FALSE CapRecRotate180 TRUE CapRecStamp TRUE CapRecUnderline FALSE CapSlpPresent TRUE CapSlpFullslip FALSE CapSlp2Color FALSE CapSlpBarCode FALSE CapSloBitmap FALSE CapSloBold FALSE CapSipDhigh FALSE CapSloDwide TRUE CapSlpDwideDhigh FALSE CapSlpEmptySenser FALSE CapSlpltalic FALSE CapSlpLeft90 FALSE CapSlpNerEndSenser FALSE CapSlpRight90 FALSE CapSloRotate180 TRUE CapSlpUnderline FALSE CharacterSet 190 CharacterSetList 190 191 192 193 194 195 196 197 198 FontT ypefaceList PAGEO PAGE1 PAGE2 PAGE3 PAGE4 PAGE5 PAGE 6 PAGE7 PAGE8 JmLineChars JmLineCharsList 40 JmLineHeight JmLineSpacing 12 JmLineWidth RecLineChars RecLineChar
155. to the following by sending font change escape sequence PaperWidthMode 0 LineSizeMode xxxLineChars LineSizeMode Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 1 2 AAA a Table 57 TRST56P Properties linked with fonts or MapMode About the property to change font and Mapmode lt Write enabled gt xxxLineSpacing is not affected by font but is affected by MapMode and changes The value set on xxxLineChars will be adjusted to the nearest and greater value than the value specified and affect the font xxxLineHeight is not affected by font lt Read only gt xxxLineWidth is not affected by font but is affected by MapMode and changes About PrintBarCode method When the absolute position is specified by Alignment parameter of PrintBarCode method right alignment print is assumed due to the restriction of the printer itself The value specified by Width parameter will be converted into three varieties as shown below Less than 4 ofpaperwdth Big SSCS Table 58 TRST56P Character size of Width parameter Set the print data as shown below for UPC E bar code print UPC E bar code 0 X X X Xi Xs Xs C D Value oFX6 0 0000XK OX X Xs00000 XX OX Xe X X X500 00 Print data format must be set as shown above with value Print data consists of eleven digits Table 59 TRST56P Print data of UPC E bar code Bit map related methods and bit map print escape sequence SetBitmap which
156. ty value 5 3 3 CheckHealth Specification 1 Internal Level OPOS_CH_INTERNAL Value ResultCode CheckHealthText Meaning OPOS_SUCCESS Intemal HCheck Connected Successful OPOS E NOTCLAIMED HCheck Exclusive Exclusive error 2 External Level OPOS_CH_EXTERNAL For a current DeviceRows 1 of a Line Display for the string sink from the right side TEC Line Display LIUST 5X OPOS CheckHealth Extemal Value ResultCode CheckHealthText Meaning OPOS_SUCCESS External HCheck Complete Successful OPOS E TIMEOUT External HCheck Error Device busy OPOS E NOTCLAIMED HCheck Exclusive Exclusive error 3 Interactive Level OPOS_CH_INTERACTIVE Displays the following dialog box and confirms that the check box will be successfully displayed by Clicking each command button Indicates ANK code button 20h 7Eh display will be scrolled by one line Select OK button or NG button by visually checking the result Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 27 Line Display Interactive Check Health Indicates ANK Code Line Display Image Value ResultCode CheckHealthText Meaning OPOS_ SUCCESS Interactive HCheck Successful Successful OK button was clicked OPOS E FAILURE Interactive HCheck Error Error NG button was clicked OPOS E NOTCLAIMED HCheck Exclusive Exclusive error 53 4 DirectlO Specification Extended specification using DirectIO method is supported 1
157. untries and the registry Character sets for each country are defined in TPR158 The registry Country can accommodate the variety of character sets for each country Characters ranging from 0x20 to 0x7F are used and part of them are allocated tographic characters for each country and application The allocated area is the following twelve characters 0x23 0x24 0x40 0x5B to 0x5E 0x60 0x7B to 0x7E Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 15 9 Scanner Control Bar code reader 9 1 RS Scanner Control RSSCANNER 9 1 1 Models for support HS 380 RS HS 520 RS HS R10 RS LS 750 RS LS 770 RS LS 120 RS TIM3001 9 1 2 Functions Common property ControlObjectDescription TEC OPOS Scanner Control Object ControlObjectVersion 1002000 1 DeviceDescription may differ depending on the model connected Table 97 List of RS Scanner Control Property value 9 13 CheckHealth Specification 1 Internal Level OPOS_CH_INTERNAL Value ResultCode CheckHealth Text Meaning OPOS E ILLEGAL Intemal HCheck Illegal Not support 2 Extemal Level OPOS_CH_EXTERNAL Value ResultCode CheckHealthText Meaning OPOS E ILLEGAL Extemal HCheck lllega Not support 3 Interactive LevelOPOS CH_INTERACTIVE The following dialog box will be displayed and the bar code first scanned shall be the Master Bar codes scanned afterwards will be compared and counted up into OK or NG Dialog box will not be displayed
158. ut 100 Full cut RecLines ToPaperCut property shows the number of lines to be fed Therefore the paper will be cut at the next line from the line printed Feed amp form cut ESC sP Operable amp stamp print signifies the percentage to be cut Except 100 Partial cut 100 Full cut Multiple line feed ESC HF Operable signifies the lines to be fed Single line feed ESCIHHtuF Operable signifies the number specified by MapMode Escape sequence operable during printing Font type specification ESCIfT PAGEO PAGE1 PAGE2 PAGES PAGE4 PAGES Escape sequence operable when printing Name Bold Underline talic Red character Reversed character Shaded character Single width character Double width ESC 2C Operable Double eight character ESC 3C Double width amp height ESC 4C operable Print as a double width character character Not Horizontal h Operable magnification signifies the vertical magnification 0 150 Single magnification 151 Double magnification Vertical magnification Center aligned Right aligned ESCA O g Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 8 8 3 1 Table 75 DRJST50S POS Printer Control Escape sequence CheckHealth Specification Internal Level OPOS_CH_INTERNAL Value ResultCode CheckHealth Text Meaning OPOS_SUCCESS Intemal HCheck Successful Connected OPOS E FAILURE Intemal HCheck Error Not connected OPOS E DISABLED
159. val method No visual action is performed OPOS_SUCCESS will be immediately retumed OPOS_EPTR_FORM will not be returned as the device does not support form detection Closing the form orifice The orifice does not close by issuing slip related methods It is automatically closed by issuing print method to a receipt or joumal after the slip feed process is completed As stated above be careful to use the slip printer methods because they must be issued in the predetermined sequence 107 Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 108 8 8 DRJST50S POS Printer Control DRJST50S 8 8 1 Models for support DRJST 50 S Serial printer 8 8 2 Functions Receipt printer Journal printer Slip printer Batch processing Logo print Center aligned Right aligned Form cut Bar code print Bitmap print Multiple line feed Single line feed Bold Underline Double width character Double height character Inverted print Two color print Synchronous Asynchronous print Italic print Bitmap print Slip only Reversed character Stamp Shaded character Escape sequences c Left and right rotational print Table 73 DRJST50S POS Printer Control functions __ Specialproperty o O Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 1D CapRecDhigh FALSE CapRecDwide TRUE CapRecDwideDhigh FALSE CapRecEmptySenser FALSE CapRecltalic FALSE CapRecLeft90 FALSE CapRecNearEndSensor TRUE CapRecPapercut TRUE
160. vents On Windows95 98 StatusUpdateEvent occurs corresponding to cover open no paper of TRST 52 It also reports that it has been resumed to normal status On Windows NT StatusUpdateEvent occurs in response to no paper status of TRUST 52 and does not occur for cover open Nor does CoverOpen property change When ResultCode of ErrorEvent is OPOS_OPOS EXTENDED the following value will be set to ResultCodeExtended OPOS EPTR_COVER_OPEN OPOS EPTR_REC EMPTY As TRJST 52 parallel printer cannot decide whether no paper has occurred on the receipt or the joumal in the case of no paper it generates StatusUpdateEvent and changes relevant properties for both the receipt and the joumal In the case ErrorEvent receipt error is assumed 10 Variety of character sets for countries and the registry Character sets for each country are defined in TRUST 52 The registry Country can accommodate the variety of character sets for each country Characters ranging from 0x20 to Ox7F are used and part of them are allocated tographic characters for each country and application The allocated area is the following twelve characters 0x23 0x24 0x40 0x5B to 0x5E 0x60 0x7B to Ox7E Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 8 2 TRJST52S POS Printer Control TRIST52S 8 2 1 Models for support TRJST 52 S Serial printer 8 2 2 Functions Joumal printer Slip printer Receipt printer Batch processing Logo pri
161. ver TEC serial port driver OCIA scanner driver 3 Mult interrupt driver DRWST cash drawer diver 1 Simplified UPS driver 1 Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 13 ST 60 OPOS Driver PKBST 5x POS keyboard driver TEC serial port driver 3 OCIA scanner driver 3 Mult interrupt driver 3 DRWST cash drawer driver 1 Simplified UPS driver 1 ST 70 OPOS Driver PKBST 5x POS keyboard driver DRWST cash drawer driver 1 Simplified UPS driver 1 ST 7000 OPOS Driver 4 PKBST 5x POS keyboard driver DRWST cash drawer driver Simplified UPS driver TEC USB Driver USB Driver for TEC USB devices HS 530 UB 1 Supports only Windows NT 2000 XP 2 Supports only Windows 95 98 3 Supports for domestic version 4 Supports only Windows 2000 XP Table 1 List of Device driver 2 3 OPOS Control CO SO The OPOS Control CO SO provides the CO for the Device Class and the SO for the peripheral device The SO is usually provided for the peripheral device however there are some exceptions The following table describes all devices supported by For example the RS Scanner Control supports the Scanner Devices connected to the RS 232C If this kind of Control Is to be used it needs to be setup in the Control Panel etc Also this kind of Controls cannot be connected with multiple devices e g HS 520 RS and LS 750 RS simultaneously Device Class CO TEC OPOS Control SO POS p
162. xplanation of the service object version of the service object Table 22 PKBST Keylock Control Registry 6 1 5 Precautions and restrictions 1 Riezon of KeyPosition property and Device There are 9 Keylocks allocated altogether The physical position and the value of KeyPosition property are as follows Constants used by KeyPosition property are the same value used in WaitForKeylockChange method and StatusUpdateEvent event Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 3 Key switch of PKBST 50 51 3 4 2 5 1 6 8 7 Key position of OPOS control constant KeyPosition property PKBST 50 51 1 LOCK_KP_LOCK 1 LOCK_KP_NORM 2 LOCK_KP_SUPR 1 4 LOCK_KP_SUPR 2 5 6 7 Idle Middle position OPOS defines the value of KeyPosition shaded Table 23 KeyPosition of PKBST Keylock Control 2 About the relation with POS keyboard driver Keylock OPOS control can operate on the keyboard driver of PKBST 5x POS Therefore PKBST 5x POS keyboard for Windows95 98 must have been installed on Windows95 98 and PKBST 5x POS keyboard for Windows NT must have been installed on Windows NT Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 39 7 Magnetic Stripe Reader 7 1 MCRST MSR Control MCRST 7 1 1 Models for support PKBST 50 PKBST 51 LKB ST 56 7 1 2 Functions Functions supported Functions not supported ISO card reading JIS Type l card reading JIS Type ll card reading Table 24 MCRS
163. y OPOS E DISABLED HCheck Disabled Device is disabled OPOS E NOTCLAIMED HCheck Exclusive Exclusive error 8 10 4 OPOS Registry keeps configuration information as follows HKEY_LOCAL_MACHINEYSOF TWAREYOLEforRetal ServiceOPOSYPOSPrinter DRJST51S Standard TEC DRJST51 S Service C OPOS TEC DRJST51S dll Description TEC DRJST 51 Serial POS Printer Version 4 2 Port COM2 BaudRate 9600 DeviceName DRJST51S Override Off On OnLineSW Off On TimeoutConstant g TimeoutMultiplier g Country US France Germany UK Denmark 1 Sweden EAA 01376 Italy Spain Japan Norway Denmark 2 Bl Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 132 File name of the service object Brief explanation of the service object version of the service object Port Communication port COM Possible set up with a control panel BaudRate Baud rate 9600 Possible set up with a control panel DeviceName Connection Device DRJST51S Country va ic France OONDARWD 10 Possible set up with a control panel Table 88 DRJST51S POS Printer Control Registry 8 10 5 Precautions and restrictions 1 Properties linked with MapMode As MapMode change affects the unit of length properties will be changed accordingly All the properties ar
164. y Xs 00 00 Print data format must be set as shown above with value Print data consists of eleven digits Table 45 TRST53P Print data of UPC E bar code 4 Bitmap related methods and bit map print escape sequence SetBitmap which handles bit maps and bit map files handled by PrintBitmap have the restriction to handle only the monochrome Though SetBitmap allows two bit maps to be set by specification this control allows only one As this bit map is cached in the printer itself and is printed by bit map print escape sequence the bit map set by a process will be shared by all other processes opened In some cases printing a line may not complete if interrupted by ClearOutput during bit map printing Considering that it is recommended that Line feed 10 of feed escape sequence be sent if interrupted by ClearOutput 5 Notes on escape sequence Escape sequences of form cut bit map print center alignment and right alignment with print methods are only effective after form feed Therefore they must be placed after feed escape sequence or Line Feed 10 to function properly 6 On print method operation TRST 53 does not start print operation until print data for one line is determined Not all data will be printed unless print method ends with Line Feed 10 7 Difference between Windows95 98 and Windows NT Service objects provided for Windows95 98 and Windows NT are different The following are the files Windows NT TRIST53P dl Windows9
165. y the Open method When e This function is no CapPowerReporting available property IS OPOS_PR_NONE _ this function is not supported When the Change the DeviceEnabled CapPowerReporting property to FALSE property is other than OPOS PR_NONE and the DeviceEnabled property is TRUE an disable error occurred In cases other than above Specify either an invalid value was OPOS PN DISABLED or Normally terminated failed necessary oth of UPS and sensor Install either of them functions have not been installed ee Open by the Open method Normally terminated Invalid value was specified Specify an effective value for the properties Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 182 Appendix A Problem of WindowsNT and POS Device WindowsNT detects serial mouse at start Therefore there is a possibility that POS device to have COM port connected with wakes up an abnormal function LIUST 5x Line Display displays a trash when starting WindowsNT Also HS 520 RS Scanner sounds a sound It can avoid these phenomenon by changing BOOT INI file Avoidance method 1 In case that not use serial mouse boot loader timeout 5 default multi 0 disk 0 rdisk 0 partition 1 WINNT operating systems multi O disk 0 rdisk 0 partition WINNT WindowsNT Workstation Version 4 00 NOSERIALMICE NOSERIAL multi O disk 0 rdisk 0 partition 1 WINNT WindowsNT Workstation Version 4 00
166. ysVaxChars SpSidewayVaxLines CHE Table 61 List of TRST56S POS Printer Control Property value Application User s Manual TOSHIBA TEC CORPORATION EAA 01376 B Escape sequence operable only when specified Form cut ESC P Operable signifies the percentage to be cut Except 100 Partial cut 100 Full cut Feed and form cut ESC fP Operable signifies the percentage to be cut Except 100 Partial cut 100 Full cut RecLines ToPaperCut property shows the number of lines to be fed Therefore the paper will be cut at the next line from the line printed Feed amp form cut ESC sP Not operable amp stamp print Bit map print ESC B Operable signifies the bit map number 1 can be specified The bit map can be registered by SetBitmap method Top logo print ESCitL Bottom logo print ESCIbL ESC sL Multiple line print ESC IF Operable signifies the lines to be fed Single line feed ESC uF Operable signifies the number specified by MapMode Escape sequence operable during printing Es sequence operable when printing Name Dele IN Bold Underline ESC uC Operable signifies the underline width O No underline 1 Thin underline 2 Thick underline talic Red character Reversed character Shaded character Single width character_ ESC 1C Double width character ESC 2C character character Horizontal ESC hC Operable magnification signifies the horizontal magnification 0 150

Download Pdf Manuals

image

Related Search

Related Contents

INSTALLATION MANUAL - psn  2951 Instructions - Victor Technologies  User Guide - Ecologie Microbienne Lyon  Mini Moving Head User Manual  VGN-NW345G/B  Samsung SPH-A820 Manual de Usuario  Samsung MAX-DG89 Manual de Usuario  Power Pucks™ Rear Speaker Harness Adapter  Manuel d`utilisation Nokia E75 - File Delivery Service  Dossier Projet Floquet  

Copyright © All rights reserved.
Failed to retrieve file