Escolar Documentos
Profissional Documentos
Cultura Documentos
TERMS & CONDITIONS: AS A PRECONDITION TO DOWNLOADING AND USE OF THE FOLLOWING DOCUMENTATION, PROGRAM CODE, SAMPLES, UPDATES, AND FIXES ("CODE"), YOU MUST AGREE THAT (1) THE CODE IS SUBJECT TO THE TERMS OF THE LICENSE AGREEMENT WHICH ACCOMPANIED, OR IS CONTAINED IN, THE PROGRAM FOR WHICH YOU ARE OBTAINING THE CODE AND (2) YOU READ AND ACCEPTED THOSE TERMS WHEN YOU OBTAINED THE PROGRAM. YOU ARE NOT AUTHORIZED TO INSTALL OR USE THE CODE, EXCEPT AS PART OF A PROGRAM FOR WHICH YOU HAVE A VALID PROOF OF ENTITLEMENT. SUBJECT TO ANY STATUTORY WARRANTIES THAT CANNOT BY LAW BE EXCLUDED, IBM MAKES NO WARRANTIES OR CONDITIONS EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OR CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT, REGARDING THE CODE OR TECHNICAL SUPPORT PROVIDED IN CONNECTION WITH THE CODE, IF ANY.
Table of Contents
Section 1 Document Objectives..............................................................................................................................................3 Section 2 Scanner Introduction .............................................................................................................................................4 Three Scan Pattern Options.....................................................................................................................................................5 Installing the Scanner & MSR Drivers................................................................................................................................6 Default Scanner Configuration Settings..................................................................................................................................7 Section 3 Using IBM UPOS Package ....................................................................................................................................9 Scanner Initialization ..............................................................................................................................................................9 Testing Basic Functionality ....................................................................................................................................................9 UPOS Installation Procedure ................................................................................................................................................10 Customizing the JPOS.XML.................................................................................................................................................12 Section 4 Using Direct Communication via COM Port .....................................................................................................14 Scanner Initialization ............................................................................................................................................................14 Testing Basic Functionality ..................................................................................................................................................14 Available Programming References .....................................................................................................................................14 Section 5 Keyboard Wedge Mode .......................................................................................................................................15 Scanner Initialization & Testing ...........................................................................................................................................15 Enabling Serial Keys.............................................................................................................................................................15 Disabling Serial Keys............................................................................................................................................................15 Section 6 Frequently Asked Questions................................................................................................................................16
Does the scanner support 2D / PDF / RSS barcode formats? .............................................................................................................................16 The system and/or application are not recognizing the Omni scanner. ................................................................................................................16 How do I know that the hardware and drivers are working properly? .................................................................................................................16 How can the scanner send data to a web based application? ..............................................................................................................................16 What support is provided under Linux for this scanner?....................................................................................................................................16 Where can I find additional programming information and supported parameter barcodes for this scanner? ..........................................................16
When the Scanner & MSR Drivers are properly installed, you should see the following items in Device Manager:
Default
High Volume High Frequency 5.0 sec Level Smart Raster Disabled Enable Disable Enable Disable Enable Enable Disable Enable Enable Disable Disable Ignore Enable Enable Enable System Character System Character System Character Disable Disable Disable Disable Enable Enable Enable Disable Disable Disable Disable Disable Disable Disable Disable Disable Disable Standard Disable Disable Disable Disable
Supported Symbologies
01h 02h 0Ch 04h 03h 53h 55h 10h 28h 29h 2Ah 22h 23h 24h 25h 26h 27h 44h 08h 0Eh 00h 0Dh 2Bh 09h 0Ah 06h 05h 07h 0Bh 0Fh E3h F0h 65h 7Bh F0h 52h F0h 53h F0h 54h
Communication Settings
Scan Data Transmission Format Baud Rate Parity Check Parity Software Handshaking Host RTS Line State Decode Data Packet Format Stop Bit Select Intercharacter Delay EBh 9Ch 9Eh 97h 9Fh 9Ah EEh 9Dh 6Eh Data as is 9600 None Enable ACK/NAK Low Unpacketed 1 0
NOTE: Host RTS Line State must be changed to HIGH for certain applications, as directed in the steps below. Do not set RTS Line State to HIGH unless directed to do so in this document. The parameter barcode to make this change is included in Appendix A.
Scanner Initialization
You must first enable the scanner for serial based communications. To do so, scan all of the BASE barcodes and the RTS Line State = LOW barcode provided in Appendix A. Additional parameters will be configured as needed automatically by the UPOS installation package. Any specific configuration changes which your application requires can be setup within the JPOS.XML file (see below).
2. 3.
4.
Installation of the IBM UPOS package also requires the Microsoft .NET Framework. The Microsoft .NET Framework installation source is not included with the UPOS distribution files. This can be downloaded directly from the Microsoft website.
5.
6. 7.
After installation of the Microsoft .NET Framework, the system will no longer be configured to automatically logon. If you are using this feature, and would like to re-enable it, use the following procedure: Run the following command: CONTROL USERPASSWORDS2 Select the user you want to logon automatically Uncheck Users must enter a Username and password. Click OK Enter the password (blank for none) Click OK Run the OPOS Configuration Utility to configure the peripheral(s) you are using. Click on XML File Location Output Location.
8.
9. Click Save 10. Select the SurePOS 300/500/600, Kiosk tab 11. Locate the device you wish to configure in the list. You may need to expand the Description column to see the full description. 12. Each device to be used must be configured. Only use/configure those devices which indicate in the description that they are specifically for the IBM Anyplace, 4836 or 4838 systems.
NOTE: Device Name can be any value you select, however it MUST match exactly with the Device Name used in your application. It is case sensitive as well. 14. Once the packages have been installed and the devices configured, you can test the installation simply using our online OPOS Checkup. This is a set of online tests which use standard HTML, VBScript and JavaScript to communicate with the devices, using UPOS calls. In addition to being a very good test resource, the source code from these tests can assist you with understanding the basic methods of using OPOS from web applications. The OPOS Checkup is available at http://www.ibm.com/solutions/retail/store/support/html/oposcheckup.html
For example: <prop name="enableProgrammingViaBarcodes" type="Boolean" value="true"/> For more information on these and other properties available under UPOS refer to the UPOS publications on our support site.
Below is an example JPOS.XML file, based on default provided with the UPOS installation.
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE JposEntries PUBLIC "-//JavaPOS//DTD//EN" "jpos/res/jcl.dtd"> <JposEntries> <JposEntry logicalName="Scanner1"> <creation factoryClass="com.ibm.jpos.services.IBMJposServiceInstanceFactory" serviceClass="com.ibm.jpos.services.IntegratedOmniScanner"/> <vendor name="IBM" url="http://www.ibm.com"/> <jpos category="Scanner" version="1.9"/> <product description="IBM JavaPOS(TM) RS232 Omni Scanner Service for IBM Anyplace Kiosk" name="IBM JavaPOS for Linux/Windows Version 1.9" url="http://www.pc.ibm.com/store/"/> <prop name="deviceBus" type="String" value="RS232"/> <prop name="baudRate" type="String" value="9600"/> <prop name="portName" type="String" value="COM4"/> <prop name="abstractionClass" type="String" value="com.ibm.jpos.services.IntegratedOmniScanner"/> <prop name="impClass" type="String" value="com.ibm.jpos.services.sdi.ScannerServiceImp"/> <prop name="com.ibm.posj.bus.rs232.scannerId" type="String" value="OmniScanner"/> <prop name="com.ibm.posj.bus.deviceNumber" type="String" value="0"/> <prop name="setEnableUPCAE_EANJAN813" type="Boolean" value="true"/> <prop name="setSupplementals" type="Boolean" value="true"/> <prop name="setEnableCODE39" type="Boolean" value="true"/> <prop name="setEnableCode128" type="Boolean" value="true"/> <prop name="setEnableCodabar" type="Boolean" value="true"/> <prop name="setEnableCode93" type="Boolean" value="true"/> <prop name="setEnableRSS14" type="Boolean" value="true"/> <prop name="setEnablePDF417" type="Boolean" value="false"/> <prop name="setEnableStandard2of5" type="Boolean" value="true"/> <prop name="setSTFLengths" type="Boolean" value="true"/> <prop name="setSTFLength1" type="Byte" value="8"/> <prop name="setSTFLength2" type="Byte" value="100"/> <prop name="setEnableInterleaved2of5" type="Boolean" value="true"/> <prop name="setITFLengths" type="Boolean" value="true"/> <prop name="setITFLength1" type="Byte" value="8"/> <prop name="setITFLength2" type="Byte" value="100"/> <prop name="setBeeperFrequency" type="Byte" value="0"/> <prop name="enableProgrammingViaBarcodes" type="Boolean" value="false"/> </JposEntry> </JposEntries>
Scanner Initialization
To communicate with the scanner directly via the COM port, you must first enable the scanner for this method. To do so, scan all of the BASE barcodes, and the RTS Line State = High barcode provided in Appendix A.
Ensure that the Use Serial Keys checkbox is checked and that the correct COM port is selected by clicking the Settings button. To save the settings between reboots, check both checkboxes under Administrative Options.
The system and/or application are not recognizing the Omni scanner. The Anyplace Kiosk must be using the latest level of Scanner & MSR Drivers. Please ensure you are using v1.2.11.04 or higher to support either the Linear or Omni scanners. Ensure that the scanner is connected securely. The scanner should automatically power on when the system is turned on. How do I know that the hardware and drivers are working properly? Please refer to the Scanner Introduction section in this document.
How can the scanner send data to a web based application? This depends primarily on the application. Any of the communication methods discussed in this document could be used to send data to a web application.
What support is provided under Linux for this scanner? The Anyplace Kiosk supports the IBM Retail Environment for SuSE Linux (IRES). Support for the Integrated Omni Scanner under IRES will be available at a later date.
Where can I find additional programming information and supported parameter barcodes for this scanner? The Omni scanner is uses the Symbol SE-3223 OEM scan engine. Additional information for this scanner can be found on the Symbol website. Parameter barcodes can be found in the Integration Reference Guide for the MiniScan MS-XX04. (The MS-XX04 uses the same SE-3223 scan engine)
BASE Barcodes