535539
20
Zoom out
Zoom in
Previous page
1/50
Next page
Device Service Control
16
Datalogic™ JavaPOS Device Services
then appended to the LD_LIBRARY_PATH variable, as in the following
example lines:
DLS_LD_LIBRARY_PATH=/opt/dls/JavaPOS/SupportJars
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$DLS_LD_LIBRARY_PATH
export LD_LIBRARY_PATH
Any JavaPOS app must use the java command line option:
-Djava.library.path=/opt/dls/JavaPOS/SupportJars
to ensure proper libraries are used
PATH WINDOWS ONLY
During the installation process a new system environment variable by the
name of DLS_PATH is created that contains the following string:
c:\Program Files\Datalogic\JavaPOS;c:\Program
Files\Datal
ogic\JavaPOS\SupportJars.
This environment variable is then appended to end of the system environ-
ment variable
PATH
. This is required so the runtime libraries of
Win32Hid.dll and Win64Hid.dll will be found.
Device Service Control
The Datalogic Device Controls use a properties file to control certain
optional operations, and to control trace logging. This file is named
dls.properties. Upon initial service startup, if the service does not find
the dls.properties file, it extracts a default version from the JAR file and
places it in the same folder as the Java application started from. The user
can now change the default settings, but the file must remain in the appli-
cation directory.
dls.properties file
Several of the entries are related to trace logging — see next section for
details. The two remaining entries are described here:
com.Datalogic.jpos.service.ScaleService.ThrowExceptionOn-
ScaleMotion
Defaults to False
. If set True, the service will throw an exception when a
weight request times out due to Scale In Motion (112) or Scale At Zero
(114). If set False, the service reports a timeout.
com.Datalogic.jpos.interpretation.autoLoadConfig
Default is True
. When True, the service will attempt to configure the scan-
ner/scale as per settings in the jpos.xml file upon
startup. If False, the
service will not send configuration data to the scanner/scale upon startup.
This must be set
True
if
jpos.xml
settings are changed by the user.
20


Need help? Post your question in this forum.

Forumrules


Report abuse

Libble takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Product:

For example, Anti-Semitic content, racist content, or material that could result in a violent physical act.

For example, a credit card number, a personal identification number, or an unlisted home address. Note that email addresses and full names are not considered private information.

Forumrules

To achieve meaningful questions, we apply the following rules:

Register

Register getting emails for Datalogic JAVA POS Device Services at:


You will receive an email to register for one or both of the options.


Get your user manual by e-mail

Enter your email address to receive the manual of Datalogic JAVA POS Device Services in the language / languages: English as an attachment in your email.

The manual is 2 mb in size.

 

You will receive the manual in your email within minutes. If you have not received an email, then probably have entered the wrong email address or your mailbox is too full. In addition, it may be that your ISP may have a maximum size for emails to receive.

The manual is sent by email. Check your email

If you have not received an email with the manual within fifteen minutes, it may be that you have a entered a wrong email address or that your ISP has set a maximum size to receive email that is smaller than the size of the manual.

The email address you have provided is not correct.

Please check the email address and correct it.

Your question is posted on this page

Would you like to receive an email when new answers and questions are posted? Please enter your email address.



Info