User manual

User Manual 43
Appendix C.
DLSJavaPOS Command-Line
Host Download Utility
About the Command-Line Host Download Utility
DLSJavaPOS provides the ability to update scanners using a command-line
utility that is written in Java and uses the DLSJavaPOS drivers. Shell scripts
and batch files are provided below as examples.
Command line invocation:
From a command prompt or shell, the following command may be invoked
from the JavaPOS directory after the
CLASSPATH environment variable has
been set to include these jar files:
DLSJavaPOS.jar
jargs.jar
jcl.jar
jcl_editor.jar
jna.jar
jpos113-controls.jar
jpos113.jar
jsr80-1.0.2.5.jar
jsr80_linux-1.0.3.jar
jsr80_ri-1.0.2.5.jar
nrjavaserial-3.9.3.jar
xercesImpl.jar
xml-apis.jar
cmdfw.jar
Then the java executable can be invoked with the following command line
options:
java -Djava.ext.dirs=.:SupportJars -
Djava.library.path=.:SupportJars cmdfw.UpdateScanner -v
-s DLS-Magellan-9800i-USB-Scanner-Scale -c -f
DR9610414_CFG_ONLY.DAT
Please note the different options for the java executable versus the
cmdfw.UpdateScanner
jar options!