JPOS Service Object Reference, Model IDMB Reader USER MANUAL MiniMag Readers Models IDMB USB-HID KB, USB-HID, RS232/USBCDC, or PS/2 JPOS SERVICE OBJECT REFERENCE 80066512-001-B 05/31/2007 Version 1.9.16 Copyright © 2006, International Technologies & systems Corporation. All rights reserved.
JPOS Service Object Reference, Model IDMB Reader Copyright 2006, International Technologies & Systems Corporation. All rights reserved. ID TECH is a registered trademark of International Technologies & Systems Corporation. Value through Innovation, MiniMag is a trademark of International Technologies & Systems Corporation. ID TECH SOFTWARE LICENSE AGREEMENT ID TECH ("LICENSOR") IS WILLING TO LICENSE THIS SOFTWARE TO YOU ONLY IF YOU ACCEPT ALL OF THE TERMS IN THIS LICENSE AGREEMENT.
JPOS Service Object Reference, Model IDMB Reader 7. LICENSOR DISCLAIMS ALL OTHER WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT, WITH RESPECT TO THE SOFTWARE AND ANY ACCOMPANYING WRITTEN MATERIALS. This limited warranty gives you specific legal rights. You may have others, which vary from state to state. 8.
JPOS Service Object Reference, Model IDMB Reader Revision History Revision Date 02/20/06 02/28/06 03/01/06 05/17/06 06/21/06 02/23/07 Description Initial Draft Add USB HID connector support General edits Add RS232/USBCDC connector support General edit Supporting JRE 1.4 05/31/07 Up-dated Version 1.9.16 Table of Contents Introduction........................................................................................................... 5 System Requirements: ..........................................
JPOS Service Object Reference, Model IDMB Reader Introduction This document provides information for using JPOS Service Object (SO) for MiniMag readers with model number IDMB. Visit the ID TECH website at http://www.idtechproducts.com for additional information on readers. System Requirements: This JPOS SO program is for Windows 98, Windows 2000 and Windows XP. Reference Document: 1. Unified POS Retail Peripheral Architecture Version 1.9 RC1 December 1, 2004 2.
JPOS Service Object Reference, Model IDMB Reader Environment Build Install JRE 1.4, 1.5 or JDK 5.0: Download the newest JRE 1.5 installation package from: http://java.sun.com/j2se/1.5.0/download.jsp, then click: Download JDK 5.0 Update and select a proper platform JDK version to download. Install the package and make sure the "java" command functions properly. There may be a need to add the JRE bin directory into the system environments variables by following steps: For MS Windows 2K/XP 1.
JPOS Service Object Reference, Model IDMB Reader FILELISTS: jmsrso.jar JPOS device service control for Minimag II jpos.xml jpos configure file jpos.properties jpos configure file, this specifies jpos.xml com_idtech_connector_JConnector.dll JNI DLL extension usbkbConnector.dll extension DLL PS2Conn.dll Extension DLL for PS2 access usbhidConn.dll extension DLL to access usbhid SerialConn.dll extension DLL to access serial port or USB/CDC IDTECH_KeyboardHook.dll extension DLL WinIO.
JPOS Service Object Reference, Model IDMB Reader 1. The .DLL should be located in the directory in the PATH environment specified. For example, if the current working directory is included in the PATH variable, PATH=%PATH%;.\ So, the DLLs can be moved to current directory. NOTE On Windows 98 WinIO.dll, WinIO.sys, WinIO.vxd should be placed in the same directory, and add the directory to environment PATH variable in file autoexec.bat at Windows directory. For Example the directory the WinIO.
JPOS Service Object Reference, Model IDMB Reader “IDTECH_MMII_USBHID”, , 0ACD is the ID TECH Vendor ID; 0500 is the product ID. “IDTECH_MMII_RS232”, “IDTECH_MMII_USBCDC” This tow entries are same but the name. An additional COM port is presented if the USB CDC driver is installed. The line: specify the serial port parameters. “COM1” stand for the port number.
JPOS Service Object Reference, Model IDMB Reader Run POSTest It's the official recommended JPOS compatible test program. The release version includes the program or it can be gotten from http://sourceforge.net/projects/postest/ 1. unzip file "JPOS ServiceControl v01.000.zip" to a directory. Such as c:\temp The Directory is like the following: Copyright © 2006, International Technologies & systems Corporation. All rights reserved.
JPOS Service Object Reference, Model IDMB Reader Enter "c:\temp"Postest directory under the DOS command shell Then enter subdirctory "POStest" Copyright © 2006, International Technologies & systems Corporation. All rights reserved.
JPOS Service Object Reference, Model IDMB Reader 2. To run POSTest just like following: Then a POStester program screen is shown. Copyright © 2006, International Technologies & systems Corporation. All rights reserved.
JPOS Service Object Reference, Model IDMB Reader 3. Click "MSR" Tab The logical name is the entry name in the jpos.xml file. Copyright © 2006, International Technologies & systems Corporation. All rights reserved.
JPOS Service Object Reference, Model IDMB Reader 4. Click "Open" button, and "Claim", and three “beeps” should sound from the device. 5. Check choices "Data event enabled", "Device enabled" Copyright © 2006, International Technologies & systems Corporation. All rights reserved.
JPOS Service Object Reference, Model IDMB Reader 6. Observe the text field and swipe a card. Copyright © 2006, International Technologies & systems Corporation. All rights reserved.
JPOS Service Object Reference, Model IDMB Reader 7. Click "Release" or "Close" to release or close the JPOS, NOTE: This should be done to make sure the device returns to normal state. 8. click "EXIT" to quit the program. For more detail please check the http://www.javapos.com and the release help files. Copyright © 2006, International Technologies & systems Corporation. All rights reserved.
JPOS Service Object Reference, Model IDMB Reader A Sample for using MSR JPOS The following code is the sample: import jpos.*; import jpos.config.*; import jpos.config.simple.*; import jpos.loader.*; import jpos.loader.simple.*; import jpos.profile.*; import jpos.services.*; import jpos.util.*; import jpos.util.tracing.*; public class YourClass{ public static void main(String [] args){ MSR msr=new MSR(); /* new an instance */ try{ msr.open(TestConst.testdevicename); }catch(JposException e){ System.err.