Home
OPERATION MANUAL
Contents
1. Category LogicalName deviceBus_ portName Keylock iButton USB Keylock PKBST 5x PS2 Keylock PKBST 52 USB MSR MCRST PS2 MSR MCRRMS RS232 COM5 MSR MCRST 52 USB LineDisplay LIUST A10 RS232 COM4 LineDisplay WD 111 RS232 COM4 CashDrawer DRWST DRW1 Category LogicalName deviceBus_ portName fontSize CashDrawer WindowsSerialCashDrawer RS232 COM1 1 TRSTA1x CashDrawer WindowsSerialCashDrawer RS232 COM1 2 TRSTAOO POSPrinter WindowsSerialPOSPrinter RS232 COM1 1 TRSTA1x POSPrinter WindowsSerialPOSPrinter RS232 COM1 2 TRSTAOO Category LogicalName deviceBus_ productID fontSize CashDrawer USBCashDrawer TRSTA1x QM USB 61 1 CashDrawer USBCashDrawer TRSTA1x CN USB 70 1 CashDrawer USBCashDrawer TRSTAOO USB 82 2 POSPrinter USBPOSPrinter TRSTA1x QM USB 61 1 POSPrinter USBPOSPrinter TRSTA1x CN USB 70 1 POSPrinter USBPOSPrinter TRSTA00 USB 82 2 Category LogicalName deviceBus IP Address CashDrawer LANCashDrawer LAN X X X X POSPrinter LANPOSPrinter 1 LAN X X X X POSPrinter LANPOSPrinter 2 LAN X X X X POSPrinter LANPOSPrinter 3 LAN X X X X 28 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATION MANUAL OPERATION 1 Startup of program lt Windows gt lt Linux gt CheackHealth sh txSerial so libTECCash Linux_jpos xml log4j dtd i The subsequent OPERATION applies both to Windows and Linux
2. Destination to save Description Available from libTECiButtonJni so Destination to save Description Available from Root directory of project An application programming interface API to be used to access the Linux Make a link file called libTECCashDrawerJni so and use it Ex J In s libTECCashDrawerJni so 0 0 libTECCashDrawerJni so This Kit Click on Driver gt Cash Drawer Driver gt Linux Root directory of project An application programming interface API to be used to access the Linux iButton driver from Java This Kit Click on Driver gt Linux iButton Driver 53 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved TECUSB dIl Destination to save Description Available from LogMngr dll Destination to save Description Available from libtecusb so 0 0 Destination to save Description Available from TECUSBPM exe Destination to save Description Available from TECUSBJNLdll Destination to save Description Available from libTECUSBJNI so 0 0 Destination to save Description Available from C Windows system32 or C WINNT system32 Library of TECUSB driver for Windows This Kit Click on Driver gt TECUSB Driver gt Windows C Windows system32 or C WINNT system32 Library of TECUSB driver for Windows This Kit Click on Driver gt TECUSB Dri
3. ay Scanner y POS Printer LineDisplay Config Category LogiclaName Vender Product Name MSR MCRST A10 TOSHIBA TEC Corporation TECMSR LineDisplay LIUST 53 TOSHIBA TEC Corporation TECLineDisplay CashDrawer TRSTA1S_CashDrawer TOSHIBA TEC Corporation TECCashDrawer CashDrawer TRSTA1U_CashDrawer TOSHIBA TEC Corporation TECCashDrawer LineDisplay LIUST A10 TOSHIBA TEC Corporation TECLineDisplay MSR MSRTFTST 76 TOSHIBA TEC Corporation TECMSR CashDrawer DRWST50Ex TOSHIBA TEC Corporation TECCashDrawerEx Keylock iButton TOSHIBA TEC Corporation TECKeylock CashDrawer DRWST50 TOSHIBA TEC Corporation TECCashDrawer Keylock PKBST5x TOSHIBA TEC Corporation TECKeylock Scanner HS530RS TOSHIBA TEC Corporation TECScanner MSR MSRPKBST 5x TOSHIBA TEC Corporation TECMSR Scanner HSS530RSEx TOSHIBA TEC Corporation TECScannerEx Click on the LIUST A10 node under the LineDisplay node D 2 Call to the Interactive Check Health method JPOS Check Health Application Check Health Program v 001 003 Eg POS Device Entry St g A Information amp ae usr A Line Display N Gusts iy LIUST A10 Cash Drawer e E Keylock POS Printer o iS Scanner LineDisplay Internal Exte
4. iButton A 5 Display of result Check Health Program v 001 003 PBS gea Device Entry Ke lock s A Information y gt Z ysr _ T Internal External Interactive Result iButton SUCCESS Lp eer CheckHealthText A value is displayed in the Result box and the CheckHealthText Text box Either of the following two value combinations will be displayed in these boxes e When exited with the OK button in Step A 4 Result SUCCESS CheckHealthText Interactive Hcheck Successful e When exited with the NG button in Step A 4 Result SUCCESS CheckHealthText Interactive Hcheck Error 32 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATION MANUAL B 1 Keylock panel display JPOS Check Health Application 0 pKesTsx Uy 4 o y POS Printer Config Category LogiclaName Vender Product Name MSR MCRST A10 TOSHIBA TEC Corporation TECMSR LineDisplay LIUST 53 TOSHIBA TEC Corporation TECLineDisplay CashDrawer TRSTA1S_CashDrawer TOSHIBA TEC Corporation TECCashDrawer CashDrawer TRSTA1U_CashDrawer TOSHIBA TEC Corporation TECCashDrawer LineDisplay LIUST A10 TOSHIBA TEC Corporation TECLineDisplay MSR MSRTFTST 76 TOSHIBA TEC Corporation TECMSR CashDrawer DRWST50Ex TOSHIBA TEC Corporation TECCashDrawerEx Keylock iButton TOSHIBA TEC Corporation
5. 2 Execution of Device Health Check program CheckHealth JCL Editor Click on the CheckHealth button at the top 7 Note the subsequent OPERATION differs for Keylock Drawer MSR LineDisplay and Scanner bs The functions of the JCL Editor are not used this time 29 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATION MANUAL A 1 Keylock panel display JPOS Check Health Application Check Health Program vy 001 003 g Erz Information gt a MER mm Line Display F Cash Drawer o o L PKBST5x MN o 74 Scanner 4 o y POS Printer Config Category LogiclaName Vender Product Name MSR MCRST A10 TOSHIBA TEC Corporation TECMSR LineDisplay LIUST 53 TOSHIBA TEC Corporation TECLineDisplay CashDrawer TRSTA1S_CashDrawer TOSHIBA TEC Corporation TECCashDrawer CashDrawer TRSTA1U_CashDrawer TOSHIBA TEC Corporation TECCashDrawer LineDisplay LIUST A10 TOSHIBA TEC Corporation TECLineDisplay MSR MSRTFTST 76 TOSHIBA TEC Corporation TECMSR CashDrawer DRWST50Ex TOSHIBA TEC Corporation TECCashDrawerEx Keylock iButton TOSHIBA TEC Corporation TECKeylock CashDrawer DRWST50 TOSHIBA TEC Corporation TECCashDrawer Keylock PKBST5x TOSHIBA TEC Corporation TECKeylock Scanner HS530RS TOSHIBA TEC Corporation TECScanner
6. A description to set COM ports of a device Change the shaded area e lt prop name baudRate type String value 9600 gt A description to set baud rate of a device Change the shaded area k 2Defference in descriptions between Windows and Linux As for portName COMX is used for Windows and dev ttySX is used for Linux X serial port no Note that COMX starts from 1 while dev ttySX starts from 0 Windows Linux value COM1 value dev ttyS0 value COM2 value dev ttyS1 value value log4j xml Destination to save Root directory of project Description A setup file for a log to be output To be copied in the directory where the execution file exists The following focuses on the major setup items descried in the file Please create your own file e lt param name file value log ST A10 log gt A description to set a file name of log to be output e lt priority value info gt A description to set a log level Fatal Fatal error error Error warn Warning info Information debug Debug trace Trace Log4j dtd Destination to save Root directory of project Description A file to define XML tags To be copied in the directory where the execution file exists Please create your own file 50 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATION MANUAL E log4j 1 2 12 jar Destination to save Description Availa
7. Grant of execute authority chmod 775 home tec Device Health Check Program CheackHealth sh Execute the above command to grant the CheackHealth sh file an execute authority The above is an example when the Device Health Check Program folder has been copied to home tec 3 Generation of CashDrawerJni link file In s home tec Device Health Check Program libTECCashDrawerJni so 0 0 home tec Device Health Check Program libTECCashDrawerJni so Execute the above command to generate link file The above command is needed to use drawer driver 4 Generation of PKBFilterJNI link file In s home tec Device Health Check Program libTECPKBFilterJNI so 0 0 home tec Device Health Check Program libTECPKBFilterJNI so 5 Generation of TECUSBUJNI link file In s home tec Device Health Check Program libTECUSBJNI so 0 0 home tec Device Health Check Program libTECUSBJNI so 6 Generation of TECUSB link file cp p home tec tecdrv libtecusb so 0 0 usr lib ldconfig n usr lib J ln s usr lib libtecusb so 0 0 usr lib libtecusb so 27 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved Default value Default value of major parameters is as follows To change the default value please refer to the chapter 3 How to Use the JavaPOS Device Service in the GUIDE or the setup method in the Application User Manual of each device service
8. TECKeylock CashDrawer DRWST50 TOSHIBA TEC Corporation TECCashDrawer Keylock PKBST5x TOSHIBA TEC Corporation TECKeylock Scanner HS530RS TOSHIBA TEC Corporation TECScanner MSR MSRPKBST 5x TOSHIBA TEC Corporation TECMSR Scanner HS530RSEx TOSHIBA TEC Corporation TECScannerEx Click on the PKBST5x node under the Keylock node B 2 Call to the Interactive Check Health method JPOS Check Health Application Check Health Program v 001 003 E 3 Bas POS D El TESI i evice Entry be e Faf Information o re a mm Line Display z P Cash Drawer D iButton Q Eest POS Printer li sp Scanner o gt Keylock Internal External Result CheckHealthText Click on the Interactive button at the right Keylock 33 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATION MANUAL B 3 Installation of keylock Keylock Interactive CheckHealth KeyPosition Information Position Number 8 Position Count 8 When the above window appears change key position To exit click on the OK or NG button B 4 Display of result JPOS Check Health Application Check Health Program v 001 003 TESI POS Device Entry Keylock a Ez Information MSR 7 Internal External Interactive Sh Liu Line Display o C
9. Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATION MANUAL E 3 How to Use the JavaPOS Device Service This chapter describes the setups required to use the JavaPOS Device Service assuming that the operating environment described in Chapter 1 has been built up Required files In order to use the JavaPOS Device Service provided by the Kit the following files are required besides the library file 4 2 3 4 5 6 7 8 9 10 jpos111 jar jpos xml log4j xml log4j dtd log4j 1 2 12 jar commons logging jar RXTXcomm jar swing layout 1 0 3 jar xerces Impl jar xml apis jar jcl_editor jar rxtxSerial dll 1 librxtxSerial so 2 rxtxParallel dlle1 librxtxParallel so 2 TECCashDrawerJni dll 3 libTECCashDrawerJni so 4 lib TECiButtonJni so s JimiProClasses jar TECUSB dll 6 libtecusb so 0 0 7 TECUSBUJNI dll 6 libTECUSBJNI so 0 0 7 TECUSBPM exe 3 libTECPKBFilterJNI so 0 0 8 libtecusb so 0 0 9 libTECUSBJNI so0 0 0 10 Required only for Windows Required only for Linux Required only for using CashDrawer Device Service under Windows Required only for using CashDrawer Device Service under Linux Required only for using iButton Device Service under Linux Required only for using POSPrinter USB Device Service under Windows Required only for using POSPrinter USB Device Service under Linux Required only for using POSKeyboard under Linux Required only for using
10. Mice and other pointing devices S Monitors i BB Network adapters 5 a Other devices TOSHIBA TEC DRAWER Driver Y Ports COM amp LPT HR Processors Sound video and game controllers H lt Storage volumes Start the Device Manager and check that the CashDrawer driver has been successfully installed Then open the system32 folder TECCashDrawerJni dll has been copied C WINDOWS system32 and make sure that 18 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATION MANUAL lt Linux gt 1 Copy of driver module Select Driver gt CashDrawer Driver gt Linux gt Driver Copy the drw ko driver module to any desired location 2 Installation of CashDrawer driver insmod home tec tecdrv drw ko port 0x448 postype 2 mknod dev drw c 242 0 Execute the above commands to install the driver The above is an example when drw ko has been copied to home tec tecdrv The shaded value is the ST B10 drawer port address As the port address differs for each model please check it with the specifications of each model The ist line installs the module and the 2nd line creates a device file 2 This setup is cleared whenever the operating system is rebooted This command must be executed every time the operating system is rebooted 3 Confirmation of install J Ismod Execute the above command to make
11. USB Device amp amp Toshiba TEC TRST A1x USB POS Printer amp Universal Serial Bus controllers DER Finally start device manager And confirm that it is installed as above 23 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATION MANUAL lt Linux gt 1 Copy of driver module v001 000 TRST Alx JavaPos TECUSB D ibtecusb so 0 0 tecusbd ko Select Driver gt TECUSB Driver gt Linux Copy the tecusbd ko and libtecusb so 0 0 module to any desired location tecusbd ko is a TECUSB driver which runs on Linux 2 Installation of driver insmod home tec tecdrv tecusbd ko Execute the above commands to install the driver The above is an example when tecusbd ko has been copied to home tec tecdrv 1 This setup is cleared whenever the operating system is rebooted This command must be executed every time the operating system is rebooted 3 Confirmation of install J Ismod Execute the above command to make sure the driver has been successfully installed 4 Installation of library J cp p home tec tecdrv libtecusb so 0 0 usr lib ldconfig n usr lib In s usr lib libtecusb so 0 0 usr lib libtecusb so Execute the above commands to install the library The above is an example when libtecusb so 0 0 has been copied to home tec tecdrv 24 Copyright C 2008 TOSHIBA TEC CORPORATION All R
12. ie p Cash Drawer o Keylock in iT off a SS Pos Printer TRSTAIxU Click on the TRSTA1xU node under the POSPrinter node in the case of using USBPOSPrinter Click on the TRSTA1xS node under the POSPrinter node in the case of using SerialPOSPrinter Config Vender Product Name Category LogiclaName MSR MCRST A10 TOSHIBA TEC Corporation TECMSR LineDisplay _ LIUST 53 TOSHIBA TEC Corporation TECLineDisplay CashDrawer TRSTA1S_CashDrawer TOSHIBA TEC Corporation TECCashDrawer CashDrawer TRSTA1 U_CashDrawer TOSHIBA TEC Corporation TECCashDrawer LineDisplay _ LIUST A10 TOSHIBA TEC Corporation TECLineDisplay MSR MSRTFTST 76 TOSHIBA TEC Corporation TECMSR CashDrawer DRWSTSOEx TOSHIBA TEC Corporation TECCashDrawerEx Keylock iButton TOSHIBA TEC Corporation TECKeylock CashDrawer _ DRWST50 TOSHIBA TEC Corporation TECCashDrawer Keylock PKBST5x TOSHIBA TEC Corporation TECKeylock Scanner HS530RS TOSHIBA TEC Corporation TECScanner MSR MSRPKBST 5x TOSHIBA TEC Corporation ITECMSR Scanner HS530RSEx TOSHIBA TEC Corporation TECScannerEx F 2 Call to the Interactive Check Health method JPOS Check Health Application Check Health Program v 001 003 Ut E POS Device Entry amp LEZ information ey MSR a mm Line Display gt o
13. sure the driver has been successfully installed 4 Generation of link file Copy the libTECCashDrawerJni so 0 0 to the location you want to run the program Then generate a link file 19 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATION MANUAL Installation of TECUSB Driver lt Windows gt 1 Copy of driver module J C ATRST Alx JayaPOS TECUSB Driver d Folder Tasks Az ke a new Folder alish this Folder to the Copy an Driver gt TECUSB Driver gt Windows folder in the suitable place 2 Execute of Batch file Carry out TECUSB_LIBRARY_SETUP BAT in the folder which stored by procedure 1 After practice the following file is copied by a folder of Windows system32 e TECUSB dIl e LogMngr dll e TECUSBUJNI dll e TECUSBPM exe Cautions When it failed in a copy copy the files to each directory manual operation Root directory of project ex A folder same as CheckHealth bat e TECUSBPM exe 20 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATION MANUAL 3 Installation of TRST A1x TECUSB driver Connect TRST A1x by USB and turn on a power supply The following dialogue is displayed Found New Hardware Wizard Welcome to the Found New Hardware Wizard Windows will search for current and updated software by looking on your computer on the hardware installatio
14. CKeylock Scanner HS530RS TOSHIBA TEC Corporation TECScanner MSR MSRPKBST 5x TOSHIBA TEC Corporation TECMSR Scanner HS530RSEx TOSHIBA TEC Corporation TECScannerEx E 2 Call to the Interactive Check Health method JPOS Check Health Application Check Health Program v 001 003 Eg POS Device Entry ie g A Information MSR MCRST A10 MSRTFTST 76 MSRPKBST 5x Line Display Cash Drawer ges Kevlock ig Scanner POS Printer MSR Internal External Result CheckHealthText Click on the Interactive button at the right MSR 41 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATION MANUAL A MSR E 3 Startup of card data read mode MSR Interactive CheckHealth Can t Read Data now Can t Read Data now Can t Read Data now Track4 Can t Read Data now Ln Click on the Start button E 4 Read of card data MSR Interactive CheckHealth Result Please swipe Card Tracki Waiting Track2 Waiting Track3 Waiting Track4 Waiting Len A message Waiting is displayed in the text boxes Swipe a card 42 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATION MANUAL lt Reading succeeded gt lt Reading failed gt MSR Interactive CheckHealth MSR Interactive CheckHe
15. J a v a P OSD r i v e r OPERATION MANUAL This JavaPOS Driver Kit OPERATION MANUAL hereinafter referred to as the GUIDE describes the procedures and precautions for using the JavaPOS Driver Kit hereinafter referred to as the Kit The GUIDE assumes that the reader is familiar with the following e General characteristics of POS peripheral devices e Java terminology and architecture e Java for Retail POS JavaPOS for short Programmer s Guide Notes e It is prohibited to use or duplicate a part or whole of the GUIDE without the permission of Toshiba TEC Corporation e The GUIDE is subject to change without prior notice Windows and Windows XP WEPOS and POSReady are registered trademarks of Microsoft Corporation in the United States and or other countries The official name of Windows is the Microsoft Windows Operating System Java and JavaPOS are trademarks of Sun Microsystems in the United States and or other countries 2 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved AIAR ole LELE oN Rieck cas veces TENETE ETET E EEIE E 4 OVERVIEW of the MANUAL irana niieu VEEE weed aust AE E AEA 4 1 How to Build An Operating Environment s sssssssssssssssssnsnnsnnnnnnsnnnnnnsnnns 5 SUpPpPORtEd Heigala 0S uP E E A ET 5 Operating ENVIFONIMENE ics cereteey seve vee devbeese ckelvbe st otras EEEa E aaa aN E 5 Installation of Java Runtime Environment vecccessc sete terete ede creussedctediv
16. K button 5 Confirmation of installation Open the system32 folder C WINDOWS system32 and make sure that the following modules have been copied e POSESC32 dll e UsbKbMgr exe e LogMngr dll e raslibc dll e TECUSBPKBFilterJNI dll 14 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATION MANUAL lt Linux gt Before this installation execute Installation of TECUSB procedure Execute the following commands in order to install the USB POS keyboard driver This procedure is necessary to operate MCR and Keylockattached to PKBST 52 Supported Product PKBST 52 Note Restarting the operating system clears this setting The procedure must be performed whenever the operating system is restarted 1 Installation of module insmod home tec tecdrv usbposkbd ko 2 Keycode configuration setkeycodes 0x61 121 setkeycodes 0x63 123 lt fa A O A 15 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved Installation of Drawer Driver lt Windows gt 1 Startup of driver setup batch file biST B20 Driver CashDrawer Driver Windows Batch File Select Driver gt CashDrawer Driver gt Windows then double click on the SETUP BAT file to execute 4 DRVDRW sys is a CashDrawer driver which runs on Windows TECCashDrawerJni dll is a library file which is used to access the Windows CashDrawer driver from Java 2 Start o
17. MSR MSRPKBST 5x TOSHIBA TEC Corporation TECMSR Scanner HS530RSEx TOSHIBA TEC Corporation TECScannerEx Click on the iButton node under the Keylock node A 2 Call to the Interactive Check Health method JPOS Check Health Application Check Health Program v 001 003 BESI POS Device Entry pes a KA Information ic o a MSR E mm Line Display z E Cash Drawer Keylock D iButton DB pkestsx eR POS Printer i f Scanner Keylock Internal External Interactive Result CheckHealthText Click on the Interactive button at the right iButton 30 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATION MANUAL i A 3 iButton A 3 Installation of iButton Keylock Interactive CheckHealth Electronic Key Value Family Code Serial Number CRC Code When the above window appears make the iButton touch to the button contacts A 4 Display of iButton data Keylock Interactive CheckHealth Electronic Key Value Family Code 01 Serial Number 000000532649 CRC Code FA The text boxes in the window show data stored in the iButton To exit click on the OK or NG button 31 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATION MANUAL
18. N MANUAL 2 Enable a device drawer open LOGICALNAME drawer claim 100 drawer setDeviceEnabled true e Open a device by specifying a device logical name e Set a timeout and perform an exclusive process e Set the DeviceEnabled property to TRUE 4 Specify a logical device name for LOGICALNAME 2 For devices which do not perform an exclusive processing no claim handlings are required 3 For the claim handling specify a timeout period in milliseconds in the round brackets as argument 3 Call to a device specific method and get a property Bool status drawer openDrawer status drawer getOpened e Define a variable to get a status e By calling to the CashDrawer specific method a cash drawer opens e Astatus is obtained 4 Device specific methods differ for each device For details please refer to the Application User Manual of each Device Service 2 Get method and Set method differ for each property The example below explains the method to get YYY property in XXX object and set ZZZ value to the property Get a XXX getYYY Set XXX setYYY ZZZ 57 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATION MANUAL 4 Disable a device drawer setDeviceEnabled flase drawer release drawer close e Set the DeviceEnabled property to FALSE e Release the exclusive processing e Close the device 4 For the devic
19. R line display LineDisplay scanner Scanner and POS printer POSPrinter Overview of the MANUAL The GUIDE consists of the following three steps and explains the demo program enclosed in the Kit Please follow the steps below Step 1 How to Build An Operating Environment This step describes the method to build an environment for using the JavaPOS Device Service Step 2 How to Check Performance of the JavaPOS Device Service This step describes the method to test whether or not the test program for checking performance of the JavaPOS Device Service CheckHealth jar successfully runs Step 3 How to Use The JavaPOS Device Service This step describes the method to create a unique application using the JavaPOS Device Service Keylock Drawer MSR LineDisplay POSPrinter Example of Creating An Application Using the JavaPOS Device Service This chapter explains the method to operate the JavaPOS Device Service using an example The demo program described here is a sample code which uses the JavaPOS Device Service to create the application 4 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATION MANUAL A 1 How to Build An Operating Environment This chapter describes the method to build an environment where the JavaPOS Device Service operates Please take this step Step 1 first then go to Step 2 Chapter 2 How to Check Performance of the JavaPOS Device Service or Step 3 Ch
20. TECUSB Device under Linux Required only for using TECUSB Device under Linux 47 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATION MANUAL Description of Files A destination to save a file may differ depending on the development environment The following explanation is based on the development using the NetBeans5 5 Jpos111 jar Destination to save Any location Description JavaPOS Device Control To be imported when creating an application Available from JavaPOS 1 11 0 Dist zip on the web site http www javapos com samplecode html or http www javapos com index html 48 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved jpos xml Destination to save Root directory of project Description A device setup file required to operate each Device Service The following focuses on the major setup items descried in the file This file is required for operating each Device Service 1 Creation of jpos xml file An xml file is provided for each device in the JavaPOS folder When using the xml files compile all xml files into one file and name it jpos xml lt xml version 1 0 encoding UTF 8 gt lt DOCTYPE JposEntries PUBLIC JavaPOS DTD EN jpos res jcl dtd gt lt JposEntry logicalName DefaultDisplay gt lt creation factoryClass jpos toshibatec linedisplay loader JavaPOSServiceFactory serviceClass jpos toshibatec linedisplay serv
21. ad htm Root directory of project A library file used to access a serial port under Linux rxtx 2 1 7 bins r2 zip on the web site http rxtx qbang org pub rxtx or http users frii com jarvi rxtx download html 52 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved rxtxParallel dll Destination to save Description Available from librxtxParallel so Destination to save Description Available from TECCashDrawerJni dll Destination to save Description Available from Root directory of project A library file used to access a parallel port under Windows This is a RXTX parallel library customized by TTEC It is based on rxtx 2 1 7 LGPL rxtxSerial dll file is necessary to use this library This Kit Click on TEC RXTX Parallel Library Source It is bundled with rxtxParallel zip Root directory of project A library file used to access a parallel port under Linux This is a RXTX parallel library customized by TTEC It is based on rxtx 2 1 7 LGPL librxtxSerial so file is necessary to use this library This Kit Click on TEC RXTX Parallel Library Source It is bundled with rxtxParallel zip C Windows system32 or C WINNT system32 An application programming interface API to be used to access the Windows CashDrawer driver from Java This Kit Click on Driver gt Cash Drawer Driver gt Windows lib TECCashDrawerJni so 0 0
22. alth Tracki OK Track2 OK Track3 OK Track4 n To exit click on the Fin button E 5 Display of result JPOS Check Health Application Check Health Program v 001 003 Result Please swipe Card Start Result Please swipe Card Track1 Track2 Tracks Track4 Pas Nin Device Entry M S R o EA Information j MSR r y Internal External Interactive C MeRST A10 C MSRTFTST 76 C MSRPKBST 5x a mm Line Display Result gt by Cash Drawer SUCCESS os keyok CheckHealthText gt of Scanner Interactive HCheck Successful N POS Printer Values displayed in the Result and CheckHealth Text boxes differ depending on the reading result There are the following two value combinations 43 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATION MANUAL a e When a reading operation in Step E 4 did not fail even once Result SUCCESS CheckHealthText Interactive Hcheck Successful e When a reading operation in Step E 4 failed at least once Result SUCCESS CheckHealthText Interactive Hcheck Error 44 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATION MANUAL POSPrinter F PosPrinter panel display JPOS Check Health Application Check Health Program v 001 003 Egl POS Device Entry lt A Information o eae SR gt MM Display a
23. apter 3 How to Use the JavaPOS Device Service Supported Product e ST B10 Operating Environment Performance of the JavaPOS Device Service was checked under the following environment Operating system Windows XP SP3 WEPOS POSReady2009 SUSE Linux Enterprise Desktop 11 JavaRuntime JRE1 4 2 JavaPOS JavaPOS 1 11 Installation of Java Runtime Environment Download the file from the following web site and implement the Java Runtime Environment http ava sun com products archive j2se 1 4 2_16 5 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved Setup for some Linux drivers It is a required setup when using the driver of the following device When the following device drivers are used execute this procedure in advance e iButton driver for Linux e PS 2 POSKeyboard driver for Linux e USB POSKeybaord driver for Linux 1 Patch application to Keyboard driver of Linux Kernel The source file of a keyboard driver is rewritten using tec_kbd 2 6 27 patch file e usr src linux drivers input keyboard atkbd c e usr src linux drivers input serio i8042 c e usr src linux drivers char keyboard Copy the following files to home tec tecdrv from Driver gt Linux Keyboard patch folder in this Kit e tec_kbd 2 6 27 patch Execute the following command Then a patch is applied and a source file can be rewritten cp p home tec tecdrv tec_kbd 2 6 27 patch usr src linux cd usr src
24. ars this setting The procedure must be performed whenever the operating system is restarted Copy the following files to home tec tecdrv from Driver gt Linux compat kbd folder in this Kit e compat_keyb ko Execute the following command to install a Keyboard compatible driver insmod home tec tecdrv compat_keyb ko 7 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATION MANUAL Installation of iButton Driver lt Windows gt Download the file from the following web site and implement the 1 Wire Drivers http japan maxim ic com products ibutton software tmex index cfm lt Linux gt Copy the following files to nhome tec tecdrv from Driver gt Linux iButton Driver gt Driver folder in this Kit e load_usbibutton e usbibutton ko Installation of module insmod home tec tecdrv compat_keyb ko cd home tec tecdrv chmod 777 load_usbibutton load_usbibutton setkeycodes 0x68 93 8 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved Installation of PS 2 POSKeyboard Driver lt Windows gt 1 Startup of driver setup batch file kS LogMnar dll TECPKBFilt USB_SETUJ Select Driver gt Keyboard Driver gt Windows then double click on the PS2_STUP BAT file to execute 2 Start of installation cx C WINDOWS system32 cmd exe C Documents and Setting
25. ash Drawer g roo Result C iButton success PKBST5x BA eorne CheckHealthText S gt POS Printer interactive HCheck Successful A value is displayed in the Result box and the CheckHealthText Text box Either of the following two value combinations will be displayed in these boxes e When exited with the OK button in Step B 4 Result SUCCESS CheckHealthText Interactive Hcheck Successful e When exited with the NG button in Step B 4 Result SUCCESS CheckHealthText Interactive Hcheck Error Keylock 34 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATION MANUAL C 1 Drawer panel display JPOS Check Health Application Check Health Program v 001 003 Eg POS Device Entry p gt it Information MSR Lu Line Display Cash Drawer Ty DRWST50Ex C DRwsT50 o Keylock ii a v Scanner y POS Printer CashDrawer TRSTAIS CashDrawi TRSTA1U_CashDravw Config LogiclaName Vender Product Name Category MSR MCRST A10 TOSHIBA TEC Corporation TECMSR LineDisplay LIUST 53 TOSHIBA TEC Corporation TECLineDisplay CashDrawer ITRSTA1S_CashDrawer TOSHIBA TEC Corporation TECCashDrawer CashDrawer TRSTAIU_CashDrawer TOSHIBA TEC Corporation TECCashDrawer LineDisplay LIUST A10 TOSHIBA TEC Corporation TECLin
26. ble from commons logging jar Destination to save Description Available from RXTXcomm jar Destination to save Description Available from swing layout 1 0 3 jar Destination to save Description Available from xerces Impl jar Destination to save Description Available from Any location A library file to output a log As with JavaPOS DeviceService this file must be imported in a project logging log4j 1 2 12 zip on the web site http archive apache org dist logging log4j 1 2 12 or http logging apache org Any location A library file to output a log To be imported when creating an application commons logging 1 0 4 zip on the web site http archive apache org dist commons logging binaries or http commons apache org logging Any location A library file to access a Device which uses a COM component object model To be imported when creating an application rxtx 2 1 7 bins r2 zip on the web site http rxtx qbang org pub rxtx or http users frii com jarvi rxtx download html Any location A library file to use swing To be imported when creating an application swing layout 1 0 3 jar on the web site http java sun com products archive jfc 1 0 3 index html or http www sun com Any location A library file to convert into text or other XML format To be imported when creating an application Xerces J bin 2 9 0 zip on the web site http apache adcser
27. e specific device to operate a device This example calls a drawerOpened property to explain the case of CashDrawer 5 Property status label A label to display property information This example displays the drawerOpened property to explain the case of CashDrawer 61 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved
28. eDisplay MSR MSRTFTST 76 TOSHIBA TEC Corporation TECMSR CashDrawer DRWST50Ex TOSHIBA TEC Corporation TECCashDrawerEx Keylock iButton TOSHIBA TEC Corporation TECKeylock CashDrawer DRWST50 TOSHIBA TEC Corporation TECCashDrawer Keylock PKBST5x TOSHIBA TEC Corporation TECKeylock Scanner HS530RS TOSHIBA TEC Corporation TECScanner MSR MSRPKBST 5x TOSHIBA TEC Corporation TECMSR Scanner HSS530RSEx TOSHIBA TEC Corporation TECScannerEx Click on a node under the CashDrawer node CashDrawer has the following three kinds e DRWST5x e DRWST5xEx e EPSON Drawer TRSTA1xUDRW or TRSTA1xSDRW C 2 Call to the Interactive Check Health method JPOS Check Health Application Check Health Program v 001 003 POS Device Entry ba eB Information isp ARTY g am Line Display Drawer Internal External Interactive E Cash Drawer B TRSTA15_CashDrawi Result C TRSTA1U_CashDraw Ty DRWST50Ex prwsrso CheckHealthText a Keylock S a POS Printer Ai of Scanner Click on the Interactive button at the right 35 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATION MANUAL A CashDrawer C 3 Open the drawer CashDrawer Interactive CheckHealth Click on the Dra
29. es which do not perform an exclusive processing the release processing is not required 2 When the device is closed an operation speed increases Please close the device when exiting from the application as much as possible To suspend the device set the DeviceEnabled property to FALSE Supplemental Explanation 1 Method to set an exception A process which uses JavaPOS Device Control drawer open LOGICALNAME drawer claim 100 drawer setDeviceEnabled true catch JposException e Describe an exception here Perform an exception for all cases where the JavaPOS Device Control is used for example device open claim call to device specific method property handling In detail describe a code which uses JavaPOS Device Control in braces and a handling when an exception occurs in braces of catch JposException JposException is an exception which is thrown when an exception occurs with the JavaPOS Device Control 58 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATION MANUAL Supplemental Explanation 2 Receipt of events public void statusUpdateOccurred StatusUpdateEvent e Describe a handling here public void directlIOOccurred DirectIOEvent e Describe a handling here e Implement an event interface in a main class Please refer to 1 Create a device class object e Implement functions which should be called when an event occur
30. f installation C WINDOWS system32 cmd exe raver Driver Installation of a drawer driver Press any key to continue Press any key to start the installation 16 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATION MANUAL 3 Permission to add registry Registry Editor D Are you sure you wark to add the information in DRW REG to the registry Cre A confirmation window appears Click on the Yes button 4 Result of registry addition Registry Editor Cox When the registry has been successfully added the window shown above appears Click on the OK button 5 Permission to install the driver Hardware Installation The software you ace installing for this hardware TOSHIBA TEC DRAWER Driver has not passed Windows Logo testing to verily Rs compatibaty with Windows XP Ted me why this testing is impodtant Continuing yous installation of this software may impair or destabilize the correct operation of your system SS EBAN O TuE Microsoft strongly recommends that you stop this installation now eet ee baboon ein PO passed Windows Logo testing When the window shown above appears click on the Continue Anyway button 17 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATION MANUAL 4 Floppy disk controllers gy Human Interface Devices GY IDE ATA ATAPI controllers H gt Keyboards HTS
31. fA Scanner y POS Printer D PRSTAIxU C TRSTAIxS POSPrinter Internal External Interactive Result CheckHealthText Click on the Interactive button at the right 45 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATION MANUAL A POSPrinter F 3 Execute of Print POS Printer Interactive checkHealth X Command Print ASCII Code Feed Cut Bitmap Dual Side Print Printer Status When the above window appears execute each function x To exit click on the OK or NG button F 4 Display of result JPOS Check Health Application Check Health Program v 001 003 grow POSPrinter S E information 2 my OR Internal External Interactive g mm Line Display par g ee Cash Drawer lt 3 Result gt esp Kevlock k A sa success e S Pos pine CheckHealthText O TRSTAIxU C TRSTAIxS o Interactive HCheck Successfull A value is displayed in the Result box and the CheckHealth Text box Either of the following two value combinations will be displayed in these boxes e When exited with the OK button in Step G 3 Result SUCCESS CheckHealthText Interactive Hcheck Successful e When exited with the NG button in Step G 3 Result SUCCESS CheckHealthText Interactive Hcheck Error 46
32. ices LineDisplayService gt lt vendor name TOSHIBA TEC Corporation url http www toshibatec co jp gt lt jpos category LineDisplay version 1 11 gt lt product description TEC LUIST 51 Serial Line Display name TECLineDisplay url http www toshibatec co jp gt lt Other non JavaPOS required property mostly vendor properties and bus specific properties i e RS232 gt lt prop name portName type String value COM4 gt lt prop name countryCode type String value 3 gt lt prop name dataBits type String value 8 gt lt prop name parity type String value None gt lt prop name modelName type String value LIUST 51 gt lt prop name flowControl type String value Xon Xoff gt lt prop name stopBits type String value 1 gt lt prop name deviceBus type String value RS232 gt lt prop name baudRate type String value 9600 gt lt JposEntry gt lt JposEntries gt Descriptions for other devices lt JposEntry gt lt JposEntries gt The following describes the major setup items For details of the setup method please refer to the Application User Manual of each JavaPOS Device Service 49 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved e lt JposEntry logicalName DefaultDisplay value 0 gt A description to set a logical device name Change the shaded area e lt prop name portName type String value COM4 gt
33. ights Reserved JavaPOS Driver Kit OPERATION MANUAL A 2 How to Check Performance of the JavaPOS Device Service This chapter describes the method to check performance of the JavaPOS Device Service assuming that the operating environment described in Chapter 1 has been built up Here the setup method is referred to as PREPARE and the operation method of the Device Health Check Program as OPERATION In this chapter the device health check method is explained for the following devices e LineDisplay e iButton e Keylock e CashDrawer e MSR e POSPrinter PREPARE Copy of Device Health Check Program modules Open the Kit CD then copy the Device Health Check Program folder to a desired location in the local computer j The subsequent procedures are separately explained for Windows and Linux below 25 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATION MANUAL lt Windows gt Change of setup file name jpos xml librxtxSerial so libTECCash oti x xml log4j dtd t rxtx5efial dll Change the name of the Windows_jpos xml file in the Device Health Check Program folder to jpos xml lt Linux gt 1 Change of setup file name CheackHealth sh lt Linux_jpos xml Change the name of the Linux_jpos xml file in the Device Health Check Program folder to jpos xml 26 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved 2
34. iver gt PKBFilter Driver gt Linux 55 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATION MANUAL Example of Creating An Application Using the JavaPOS Device Service This chapter describes the method to create an application using the JavaPOS Device Service For this purpose the demo program enclosed in the Kit is used Coding Process There are the following processes to create an application using the JavaPOS Device Service Create a device class object Enable a device Call to a device specific method and get a property Disable a device SQN The subsequent sections explain each process 1 Create a device class object import javax swing DefaultListModel import jpos import jpos events import java util public class DrawerPanel extends javax swing JPanel implements StatusUpdateListener DirectIOListener private CashDrawer drawer Creates new form DrawerPanel public DrawerPanel initComponents drawer new CashDrawer e Import Jpos e Specify a variable for CashDrawer type for example drawer e By specifying new create a Device Control object To receive events implement events which are defined by each device For details of implementation refer to Supplemental Explanation 2 Receipt of events 56 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATIO
35. linux patch p0 lt tec_kbd 2 6 27 patch 2 Patch application to w1 driver of Linux Kernel for TTEC iButton driver The source file of a w1 driver is rewritten using tec_w1 2 6 27 patch file e usr src linux drivers w1 masters ds2490 c Copy the following files to home tec tecdrv from Driver gt Linux iButton Driver gt patch folder in this Kit e w1 patch install sh e ds2490 h e tec_w1 2 6 27 patch Execute the following procedure when using the iButton driver developed by TTEC home tec tecdrv w1 patch install sh Rebuild a kernel after these two procedures are completed Cautions Rebuild a kernel takes several hours 6 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved 3 Rebuild the kernel Execute the following commands in order from the top cd usr src linux Movement to a directory with the source file of a kernel make oldconfig Obtains configuration information of the kernel in operation make clean Deletes all interim files make Complies the kernel and driver modules make install gt Installs the kernel make modules install Installs the drivers Finally restart the operating system 4 Install the Linux Keyboard compatible Driver If a keyboard compatible driver is installed setkeycodes command can be executed even when a PS 2 keyboard has not been connected Note Restarting the operating system cle
36. n CD or on the Windows Update Web site with your permission Read our privacy policy Can Windows connect to Windows Update to search for software O Yes this time only every time connect a device Click Next to continue Choose No not this time Click on the Next gt button Found New Hardware Wizard This wizard helps you install software for TEC TRST A15 USB POS Printer 9 If your hardware came with an installation CD Q or floppy disk insert it now What do you want the wizard to do Install the software automatically Recommended Install from a list or specific location Advanced Click Next to continue Choose Install from a list or specific location Advanced Click on the Next gt button 21 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATION MANUAL Found New Hardware Wizard Please choose your search and installation options Sm Ss Search for the best driver in these locations Use the check boxes below to limit or expand the default search which includes local paths and removable media The best driver found will be installed C Search removable media floppy CD ROM Include this location in the search CATECUSB Driver Windows Don t search will choose the driver to install Choose this option to select the device driver from a list Windows does not guarantee that the dri
37. n the window shown above appears click on the Continue Anyway button 10 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATION MANUAL 6 Confirmation of installation s Disk drives a Display adapters cp DVD CD ROM drives Floppy disk controllers JB Floppy disk drives S IDE ATA ATAPI controllers ae Keyboards Bere TEC POS Keyboard Filter 15 Mice and other pointing devices a Network adapters Ports COM amp LPT Sound video and game controllers i System devices Start the Device Manager and check that the Keyboard Filter driver has been successfully installed Then open the system32 folder C WINDOW S system32 and make sure that the following modules have been copied e POSESC32 dll e mkmgr exe e LogMngr dll e KeyMonHk dll e TECUSBPKBFilterJNI dll 11 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATION MANUAL lt Linux gt Execute the following commands in order to install the POS keyboard driver This procedure is necessary to operate MCR and Keylockattached to PKBST 50 Supported Product PKBST 50 Note Restarting the operating system clears this setting The procedure must be performed whenever the operating system is restarted 1 Installation of module insmod home tec tecdrv poskbd ko 2 Creation of device file mknod dev poskbd c 243 0 3 Keycode configurati
38. on MCR setkeycodes 0x61 121 setkeycodes 0x63 123 A D lt a la A 12 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved Installation of USB POSKeyboard Driver lt Windows gt Before this installation execute Installation of TECUSB procedure 1 Startup of driver setup batch file byboard Driver wWindows 0 Be 9 LogMnar dll Select Driver gt Keyboard Driver gt Windows then double click on the USB_SETUP BAT file to execute 2 Start of installation cx C WINDOWS system32 cmd exe C Documents and Settings TTEC Desktop Windows gt echo off Wdsessdsshstshishssssssssssshtshsssdisssssssssssssssssssssssd Drawer Driver Setup Wbdessdsdsssssssssssssssssssstshsssdissshsssssssssssssssssssd Installation of a drawer driver Press any key to continue m 4 Press any key to start the installation 13 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATION MANUAL 3 Permission to add registry Registry Editor 4re you sure you want to add the information in key reg to the registry A confirmation window appears Click on the Yes button 4 Result of registry addition Registry Editor e 1 Information in key reg has been successfully entered into the registry Lox J When the registry has been successfully added the window shown above appears Click on the O
39. onenetnddevinsers 5 Setup for some Linux driverS s s sssessrssrrrserusrersurtenrreerrnasrnnsernnsannrreenrreernns 6 Installation of iButton Driver s ssssssssrssrsssrrnrnnurnnrnnurunrnunnnutnnnnnunrnnnnnnunnrnnnna 8 Installation of PS 2 POSKeyboard Driver ccscscseeeeseececesseceereseeeseeseaeeensees 9 Installation of USB POSKeyboard Driver scsceccseseeeeseeessneedeeseeessesesneenees 13 Installation of Drawer Driver svete cate cawersanneceescscurk nav nee tenctavees Oana racecseasaneee nes 16 Installation of TECUSB DAVEP p cexcucendsintebsansbeccetadanghawncocenensule besa ne Qeanes ar Aia 20 2 How to Check Performance of the JavaPOS Device Service 25 PREPARE moraer Aa tieta citar radia ia tan a ene iat a a E resin eee sae erent 25 D fa lt Val csc ce eek eaa aeaeo E EAK OOE EUNA FEARI E ESARET EE AOE A ECEE VLE ETARE AREE ia 28 OPERATIONS E EE A A E boeeeedelees 29 3 How to Use the JavaPOS Device Service cscs 47 Example of Creating An Application Using the JavaPOS Device Service 56 Coding PrOGESS wetcicz ences ae aT AET EEES E ETAETA EEN EAEI EE TEE A kas 56 Creation OF WINGOW s is orrei e e Ea iE EEANN EEEE Er Wack EEEa A 60 3 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved Introduction The Kit JavaPOS Driver Kit provides the JavaPOS Device Service to be used to develop an application for key lock Keylock cash drawer Drawer magnetic stripe reader MS
40. rnal Result CheckHealthText Click on the Interactive button at the right 38 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATION MANUAL A LineDisplay D o Display of LineDisplay Line Display Interactive CheckHealth There are the following two CheckHealth functions for LineDisplay Indicates ANK Code Click on the Indicates ANK Code button at the upper left and the same content displayed in the two boxes on the right side of the button is also displayed on the line display device Indicates Descriptors Click on the Indicates Descriptors button at the centre left and a descriptor is displayed in the line display device at a location indicated by the value in the box on the right side of the button 39 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATION MANUAL D4 Display of result JPOS Check Health Application Check Health Program v 001 003 TEEI POS Device Entry a ws amp EA information o SS usp mm Line Display e3 O kusta C iust a10 A a p Cash Drawer gt Gay Kevlock mm 7 Scanner La y POS Printer LineDisplay LineDisplay Internal External Interactive Result SUCCESS CheckHealthText Interactive HCheck Successful A value is displayed in the Result box and the CheckHealthTe
41. s e Add an appropriate description in the shaded areas 4 Event types differ for each device For details please refer to the Application User Manual of each device 59 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATION MANUAL Creation of Window The figure below shows an example of window created when an application is created following the above mentioned processes POS TEST for Java POS eS POS Device Entry Drawer DSVersion Description gt 27 information a J MSR o M Line Dispiay Jannnnnnnnnnnn E p DrawerOpe 5 Status T Be Cash Drawer Huonona Device Name DRWST50Ex C TRSTA1S_CashDrawer TRSTA1U_CashDrawey C DRWSTS0Ex C DRWwSTS0 see Keylock Scanner ClearList POS Printer 1 Device Name Logical Name text box A text box which is used to set a logical device name of a device to open the device 2 Device enable button Performs a process required to enable the device Specifically performs Open and Claim then set the DeviceEnabled property to TRUE 3 Device disable button Performs a process required to disable the device Specifically set the DeviceEnabled property to FALSE then performs Release and Close 60 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATION MANUAL 4 Calls to a method to operate a device Calls to a devic
42. s ITEC Desktop Windows gt echo off COOOLOOOOOOOOAOOSAAAAAAAAAAAAAAAEEOOOOOOOAAAAAAAAAAAA AAAS ASAE Draver Driver Setup VAOLAOPOOCOOOAOEOOEOOAOOOOOOEOAEOAEOOEOOOOAAAAAAAAAAAAAAAAAA SES Installation of a drawer driver Press any key to continue m 4 Press any key to start the installation 9 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATION MANUAL 3 Permission to add registry Registry Editor 4re you sure you want to add the information in key reg to the registry A confirmation window appears Click on the Yes button 4 Result of registry addition Registry Editor e 1 Information in key reg has been successfully entered into the registry Lox J When the registry has been successfully added the window shown above appears Click on the OK button 5 Permission to install the driver Hardware Installation The software you are installing for this hardware TEC POS Keyboard Filter has not passed Windows Logo testing to verify its compatibility with Windows XP Tell me why this testing is important Continuing your installation of this software may impair or destabilize the correct operation of your system either immediately or in the future Microsoft strongly recommends that you stop this installation now and contact the hardware vendor for software that has passed Windows Logo testing Continue Anyway 1 Whe
43. ver gt Windows Root directory of project Library of TECUSB driver for Linux Make a link file called libtecusb so and use it Ex J In s libtecusb so 0 0 __libtecusb so This Kit Click on Driver gt TECUSB Driver gt Linux C Windows system32 or C WINNT system32 In case of Vista root directory of project An USB power management process for Windows It is nesessary to use TRST A1x U on Windows This Kit Click on Driver gt TECUSB Driver gt Windows C Windows system32 or C WINNT system32 An application programming interface API to be used to access the Windows TECUSB driver from Java This Kit Click on Driver gt TECUSB Driver gt Windows Root directory of project An application programming interface API to be used to access the Linux Make a link file called libTECUSBJNI so and use it Ex J In s libTECUSBJNI so 0 0 libTECUSBJNI so This Kit Click on Driver gt TECUSB Driver gt Linux 54 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATION MANUAL lib TECPKBFilterJNI so 0 0 Destination to save Root directory of project Description An application programming interface API to be used to access the Linux Make a link file called libTECPKBFilterJNI so and use it Ex In s libTECUSBJNI so 0 0 libTECUSBJNI so Available from This Kit Click on Dr
44. ver com ar xml xerces j or http xerces apache org 51 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATION MANUAL IA xml apis jar Destination to save Description Available from JposEntryEditor jar Destination to save Description Available from JimiProClasses jar Destination to save Description Available from rxtxSerial dll Destination to save Description Available from librxtxSerial so Destination to save Description Available from Any location A library file to convert into text or other XML format To be imported when creating an application Xerces J bin 2 9 0 zip on the web site http apache adcserver com ar xml xerces j or http xerces apache org Any location A library file to access an XML file To be imported when creating an application jcl2 2 0 zip on the web site http Availablefromforge net project showfiles php group id 128804 amp packag e id 141062 amp release_id 306139 or http jposloader Available fromforge net downloads S A Any location A library file to access an image file To be imported when creating an application jimi1_0 zip on the web site http java sun com products jimi Root directory of project A library file to access a serial port under Windows rxtx 2 1 7 bins r2 zip on the web site http rxtx qbang org pub rxtx or http users frii com jarvi rxtx downlo
45. ver you choose will be the best match for your hardware Exclude a check box of Search removable media floppy CD ROM Choose check box of Include this location in the search Click on the Browse button And appoint a folder with the TecUSBDEx INF file Click on the Next gt button Found New Hardware Wizard Please wait while the wizard installs the software Toshiba TEC TRST A1 USB POS Printer D 2 Setting a system restore point and backing up old files in case your system needs to be restored in the future Cancel The installation of the TECUSB driver is started 22 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATION MANUAL Found New Hardware Wizard Completing the Found New Hardware Wizard The wizard has finished installing the software for Toshiba TEC TRST A1x USB POS Printer Click Finish to close the wizard Cancel If an above screen is displayed it is installation completion Click on the Finish button amp Device Manager File Action View Help e 4 amp 6 2 8 4 Computer See Disk drives iy Human Interface Devices H E IDE ATA ATAPI controllers a Keyboards m7 Mice and other pointing devices Other devices Ports COM amp LPT SYR Processors Sound video and game controllers E3 2 System devices TEC Bulk amp Interrupt
46. wer Open button C 4 Get status CashDrawer interactive CheckHealth The drawer opens and a message OPEN is displayed on the Drawer Status box at the upper right in the window on the screen To exit click on the OK or NG button 36 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATION MANUAL A CashDrawer C5 Display of result JPOS Check Health Application Check Health Program v 001 003 POS Device Entry 9 gt Erd Information oS usr P Internal External Interactive amp mm Line Display pan oy Cash Drawer Drawer imemisicacroaw Result C TRSTAIU_CashDraw LT DRWST50Ex CheckHealthText Sj Awi Interactive HCheck Successful v Scanner y POS Printer SUCCESS A value is displayed in the Result box and the CheckHealthText Text box Either of the following two value combinations will be displayed in these boxes e When exited with the OK button in Step C 4 Result SUCCESS CheckHealthText Interactive Hcheck Successful e When exited with the NG button in Step C 4 Result SUCCESS CheckHealthText Interactive Hcheck Error 37 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATION MANUAL D 1 LineDisplay panel display JPOS Check Health Application g Er Information Cash Drawer Keylock
47. xt Text box Either of the following two value combinations will be displayed in these boxes e When exited with the OK button in Step D 3 Result SUCCESS CheckHealthText Interactive Hcheck Successful e When exited with the NG button in Step D 3 Result SUCCESS CheckHealthText Interactive Hcheck Error 40 Copyright C 2008 TOSHIBA TEC CORPORATION All Rights Reserved JavaPOS Driver Kit OPERATION MANUAL E 1 MSR panel display JPOS Check Health Application MCRST AIO C MSRTFTST 76 Ty a Line Display E f Cash Drawer a Keylock eff Scanner o y POS Printer Click on the MSRTFTST 76 node under the MSR node Config Category LogiclaName vender Product Name MSR MCRST A10 TOSHIBA TEC Corporation TECMSR LineDisplay LIUST 53 TOSHIBA TEC Corporation TECLineDisplay CashDrawer TRSTA1S_CashDrawer TOSHIBA TEC Corporation TECCashDrawer CashDrawer ITRSTA1U_CashDrawer TOSHIBA TEC Corporation TECCashDrawer LineDisplay LIUST A10 TOSHIBA TEC Corporation ITECLineDisplay MSR MSRTFTST 76 TOSHIBA TEC Corporation TECMSR CashDrawer DRWST50Ex TOSHIBA TEC Corporation TECCashDrawerEx Keylock iButton TOSHIBA TEC Corporation TECKeylock CashDrawer DRWST50 TOSHIBA TEC Corporation TECCashDrawer Keylock PKBST5x TOSHIBA TEC Corporation TE
Download Pdf Manuals
Related Search
Related Contents
PX3S Manuel d`utilisation - EWM Hightec Welding GmbH User Manual Super Bantam 250 Particolari Strategie per Percorsi Scuola Calibration, maintenance and troubleshooting tools and practices for Procedimiento de Tramitación de la Cuenta del Tesoro Nacional Copyright © All rights reserved.
Failed to retrieve file