Readme : JavaPOS Driver 

Contents
********

1. sewoojpos.jar
2. jcl.jar
3. jcl.dtd
4. jpos18.jar
5. jpos18-controls.jar
6. xerces.jar
7. xercesImpl.jar
8. jpos.xml
9. ReceiptTest.class
10. image file(javapos.bmp)
11. Readme.txt
12. JavaPOSSample Directory
13. installJars.class
14. jai_core.jar
15. jai_codec.jar

Minimum System Requirements
***************************

1. Pentium IV series
2. Minimum RAM 256MB 
3. Java Runtime Enviornment 1.3 and above

(You can download J2RE from sun website www.sun.com)

Specification
*************

Current JavaPOS Version:  1.63
JPOS Control Version:     1.8
JCL Version:              1.2.1
JAI(Java Advanced Imaging) API : v1.1.3

How to setup
************

This distribution of sewoojpos contains all the files required to setup the JavaPOS
architecture on Linux system.  

The list below describes the file set contained within this distribution to copy 
at specified location where J2RE(Java Runtime Environment) installed.

It is assumed that J2RE installed on the prerequisite system on which this 
distribution is being copied


Copy jcl.jar to  jre/lib/ext/   
Copy jpos18.jar to jre/lib/ext/       
Copy jpos18-controls.jar  to /jre/lib/ext/                          
Copy sewoojpos.jar to /jre/lib/ext/                  
Copy xerces.jar to /jre/lib/ext/ 
Copy xercesImpl.jar to /jre/lib/ext/   
Copy jai_core.jar to /jre/lib/ext/
Copy jai_codec.jar to /jre/lib/ext/

or

execute installJars.
# java installJars

How to config jpos.xml
**********************
1. According to printer type.
    1.1. Thermal Printer.
        <prop name="deviceClassName" type="String" value="Thermal"/>
    1.2. Dot Printer.
        <prop name="deviceClassName" type="String" value="Dot"/>

2. According to interface type.
    2.1. Serial Interface.
    	(ex) COM1 Port, Baudrate=9600bps
        <prop name="portName" type="String" value="/dev/ttyS0"/>
        <prop name="portSettings" type="String" value="9600"/>
    	(ex) COM2 Port, Baudrate=38400bps
        <prop name="portName" type="String" value="/dev/ttyS1"/>
        <prop name="portSettings" type="String" value="38400"/>
    2.2. Parallel Interface.
    	(ex) LPT1.
        <prop name="portName" type="String" value="/dev/parport0"/>
    	(ex) LPT2.
        <prop name="portName" type="String" value="/dev/parport1"/>
    2.3. USB Interface.(According to system device)
        <prop name="portName" type="String" value="/dev/usb/lp0"/>
    	or
        <prop name="portName" type="String" value="/dev/usblp0"/>
    2.4. Ethernet Interface.
    	(ex) IP = 192.168.0.100, Port Number=9100
        <prop name="portName" type="String" value="SOCKET:192.168.0.100"/>
        <prop name="portSettings" type="String" value="9100"/>

Hot to Test
***********
Copy jcl.dtd with the Test Application (ReceiptTest.class) and jpos.xml 
to same folder to run Test application

You can test JavaPOS Driver using given Test Application (ReceiptTest.class) as 
# Java ReceiptTest
or
You can test JavaPOS Driver using given Test Application(StepMain.class) under JavaPOSSample Directory as 
# Java StepMain


History
*******

ReadMe file updated for JavaPOS driver and utility.
