UserGuide Probase
UserGuide Probase
ProBase POS 2
JavaPOS™, OPOS, POS for .NET and CPOS
September 2017
Imprint
Mathias Janke
Diebold Nixdorf
Product Line Retail
Wohlrabedamm 31
13629 Berlin
[email protected]
3.2 May 2017 Mathias Janke Typos; path values corrected in chapter 7.1.1
6 Configuration........................................................................................................... 26
6.1 JavaPOS configuration .................................................................................................. 26
6.2 JavaVM configuration .................................................................................................... 29
6.3 OPOS configuration ....................................................................................................... 30
6.4 P4DN configuration........................................................................................................ 31
6.5 CPOS configuration ....................................................................................................... 31
6.6 UDM configuration ......................................................................................................... 32
7 Logging .................................................................................................................... 37
8 Programming examples.......................................................................................... 46
8.1 JPOS ............................................................................................................................. 46
8.2 OPOS ............................................................................................................................ 46
8.3 CPOS ............................................................................................................................ 46
8.4 P4DN............................................................................................................................. 46
9 Tools......................................................................................................................... 47
9.1 JavaPOS Tool Center .................................................................................................... 47
9.2 OPOS UDM Configuration Updater ............................................................................... 48
9.3 Test tools ....................................................................................................................... 49
10 Specifications .......................................................................................................... 55
10.1 Supported peripherals ................................................................................................... 55
10.2 Supported operating systems ........................................................................................ 58
10.3 Software requirements................................................................................................... 58
10.4 Components included .................................................................................................... 59
10.5 Currently available add-ons ........................................................................................... 62
10.6 Restrictions in 2.4 .......................................................................................................... 63
11 Appendix .................................................................................................................. 64
11.1 End-user license agreement .......................................................................................... 64
11.2 Changes to version 2.4 .................................................................................................. 67
11.3 Changes to version 2.3 .................................................................................................. 70
11.4 Changes to version 2.2 .................................................................................................. 76
11.5 Changes up to version 2.1 ............................................................................................. 83
1
www.javapos.com
2
OPOS - OLE for Retail POS
3
www.nrf.com/resources/retail-technology-standards/unifiedpos
4
www.nrf.com/resources/retail-technology-standards-0
5
CIM - Common Information Model
6
no longer supported
2.3 Provision
The currently released ProBase POS versions are available for download in the DN intranet portal (go to
Intranet > Portfolio > Our Portfolio > Software Solutions > Retail Software Solutions > System Software
& Operating Systems > System oriented Software > ProBase POS) as well as for download on the DN
website (go to Website > Support > Customer Reference Manuals > Wincor Customer Reference
Manuals > Support > Downloads > POS-/Kiosk-Systems, Peripherals > Software > ProBase POS).
ProBase POS is also available as a software package on all BEETLE systems pre-installed with Linux or
Windows.
Further documentation such as user manual, installation instruction and migration instruction can be
found in the DN intranet portal and on the DN website under the above links.
In addition, ProBase POS has its own documentation in the form of ReadMe files and a technical
documentation for integrators and developers as HTML files, which is located in the directory \doc below
the ProBase POS installation folder (default path under Windows is C:\Program Files\javapos\WN-
ProBasePOS, respectively /opt/wn/javapos under Linux).
ProBase POS and the documentation for ProBase POS can also be provided via GCCC 7 with an email
request to [email protected] and the additional keywords "probase pos" within the
email subject.
7
Global Customer Care Center
The base of ProBase POS is the JavaPOS of Diebold Nixdorf. The interfaces OPOS, CPOS and P4DN
are supported if the UDM is used at the same time.
The interfaces OPOS 1.6 and 1.3, JavaPOS 1.7 and 1.5 as well as RDI and LRDI are not supported by
ProBase POS and cannot be operated in parallel with the interfaces of ProBase POS.
The generic service objects convert the method calls of the application into corresponding JavaPOS
calls, just as the answers from JavaPOS are converted back into the target implementation for the
application. For the application itself, the UDM and the shared JavaPOS are presented transparently.
This results in the following advantages for the customer:
An identical behavior of the device services under OPOS, JavaPOS, POS for .NET and CPOS
In the OPOS area, the common controls can be used again
Coexistence of Diebold Nixdorf device services or service objects with those of third-party
manufacturers is possible
UnifiedPOS remains the standard long-term constant
A common software stack for POS peripherals, SCO and ACO systems
Harmonized interfaces for applications such as TP.net, TPiScan and retail partner applications
8
JavaPOS General Requirements for Linux; Diebold Nixdorf; Peter Duellings; version 1.6
9
JavaPOS General Requirements for Windows; Diebold Nixdorf; Peter Duellings; version 1.3
Windows
WN-ProBasePOS-MAJOR.MINOR.BUILD-x64.exe
WN-ProBasePOS-MAJOR.MINOR.BUILD-x86.exe
Linux
wn-probase-pos-MAJOR.MINOR.BUILD-i386.rpm
wn-probase-pos-MAJOR.MINOR.BUILD-x86_x64.rpm
Example: WN-ProBasePOS-2.4.7-x86.exe
For a detailed listing of supported operating systems, see Chapter 10.2 - Supported operating systems.
3.4.2 Installation profiles
Windows
The current product installer for Windows operating systems is based on Inno-Setup, which provides the
concept of installation profiles and can be called interactively as well as remote, silent and unattended.
Here a profile is connected to a certain implementation technology, which allows the programmatic
access to peripheral devices. The concept allows the user to choose the appropriate technology for the
application. The installer ensures that all components for the selected profile are installed correctly and
completely, as well as configured. ProBase POS 2 itself is organized internally in components.
If necessary, the user can also make changes to the selection of the components specified by the
preselected profile by selecting or deselecting components in the Custom Installation profile. However,
the installer cannot perform a consistency check of the components in the modified profile, so the user
must ensure that all required components are installed. Otherwise, the application may not or does not
work properly.
Note: Since OPOS generally exists only as a 32-bit API, the profile OPOS Installation is currently only
available in the 32-bit installer!
It is recommended to use the predefined profiles and to carry out a customized installation only after
consultation with the Diebold Nixdorf support team10.
Linux
The current product installer for Linux operating systems is based on the Red Hat Package Manager
(RPM) and does not provide any profiles. All dependencies to other packages are checked by the
Package Manager and, if possible, automatically resolved.
The following table provides an overview of the implementations or rather profiles delivered with the
respective product installers as there are significant differences between the 32- and 64-bit versions,
respectively between the Windows and Linux installers.
JavaPOS x x x x
OPOS x -
POS for .NET x x
CPOS x x x x
3.4.3 Default paths
Windows
ProBase POS 2 will be installed in C:\Program Files\javapos\WN-ProBasePOS for architecture identical
installations (e.g. 32-bit on 32-bit Windows) and in C:\Program Files (x86)\javapos\WN-ProBasePOS for
architecture-non-identical installations (32-bit to 64-bit Windows). User data such as configuration files
and log files are stored in subdirectories under C:\ProgramData\javapos according to the JavaPOS
guide line.
Linux
On Linux, ProBase POS 2 will be installed in the directory /opt/wn/javapos. Configuration files are stored
in subdirectories under /etc/opt and log files are stored in /var/log/wn according to the JavaPOS guide
line. Starting with ProBase POS 2.3, configuration files from ProBase POS are stored within the config
directory under /etc/opt/wn/javapos.
3.4.4 Special features
ProBase POS 2 does not only consist of UnifiedPOS implementations such as JavaPOS, OPOS and
P4DN or the Unified Device Manager, but also provides a number of tools for configuration, testing and
logging. Further information can be found in the chapter 6 - Configuration, 7 - Logging and 9.3 - Test
tools.
The product installer uses some of these tools in the last stages of the setup routine to configure the
previously installed components, or creates tasks or services for these tools.
At the end of each installation under Windows or Linux, the JavaPOS Configurator will be called once in
order to create an initial JavaPOS configuration. Further information about this can be found in chapter
6.1 - JavaPOS configuration. The Linux installer also sets up an autostart task for the JavaPOS
Configurator at system start.
Windows
If the OPOS profile or the OPOS UDM adapter in the Custom Installation profile has been selected, the
product installer will call the OPOS UDM Configuration Updater once and set up a permanent task for
the OPOS UDM Configuration Updater in Windows. This task is triggered by default by each system
start and user login and then executed. Further information can be found in chapter 9.2 - OPOS UDM
Configuration Updater.
After launching the ProBase POS 2 installer, one of the following welcome-screens will appear.
Or choose [Custom Installation] and check the features you want to install from the list.
Note: The number of check boxes for post installation actions appearing in this dialog depends on the
selected profile. Typically different JavaPOS configuration alternatives are going to be generated. By
default all check boxes should be remain selected to ensure proper configuration for all parts.
After all dependencies have been solved by the RPM Package Manager, the ProBase POS 2
components are installed. The installation progress and further information will be displayed on the
console or the progress window.
Note: The product installer will install the complete content including UDM server and UDM C-client with
the CPOS API. To use CPOS, the UDM server must be started manually before the application. It is
possible to enter the UDM server as a service whereupon the UDM server will be started automatically
at each system start. For more information please check chapter 6.6.1 - UDM server configuration.
Further details on the installation can be found within the ProBase POS 2 Installation Guide for Linux.
Example:
"C:\Program Files\javapos\WN-ProBasePOS\Uninstall-WN-ProBasePOS\
unins000.exe" /LOG="C:\ProgramData\javapos\wn\logs\uninstall_PBR.log"
/SILENT
Note: Unlike the installation, the uninstallation log is not activated by default, and therefore, it is
recommended to call the uninstaller with the /LOG=”PathToLogFile” switch also.
rpm –e wn-probase-pos-2.0.46-i386
11
http://www.jrsoftware.org/ishelp/
Windows
With config_javapos_startup.vbs contained in the directory <ProBase POS installation directory>\bin, the
JavaPOS configurator can be started manually. To successfully write the configuration, the JavaPOS
configurator caller script needs administrator rights12.
The JavaPOS Configurator can also be started from the Windows Start menu. By selecting Start > All
Programs > Wincor Nixdorf ProBase POS (xx-bit JVM) > Generate JavaPOS configuration the script
config_javapos_startup.vbs will be started to update the JavaPOS configuration.
Note: If additional packages have been installed or the installed packages have been updated, it is
necessary to start the JavaPOS configurator manually.
Linux
With wn_javapos_config.sh contained in the directory <ProBase POS installation directory>/bin, the
JavaPOS Configurator can be started manually, but must be executed with root privileges to
successfully write the configuration in the defined directories. Restarting the POS system is also
sufficient since the JavaPOS Configurator is configured to run at every system boot (via the link
71_wn_javapos_config.sh in the directory <ProBase POS installation directory>/startup.d).
Note: If additional packages have been installed or the installed packages have been updated, it is
necessary either to start the JavaPOS configurator manually or to restart the POS system.
12
Since ProBase POS 2.2, the caller script will call back to the user for administrator rights.
Windows
To customize the output of the JavaPOS Configurator, the configuration file javapos.config.properties
must be stored in a directory that is meaningfully named after the application. This directory with the
configuration file must be located below the directory C:\ProgramData\javapos and this directory must
still be made known to the JavaPOS configurator. To do so the application/directory name must be
stored in the environment variable %JAVAPOS_APPLICATION_NAME%. This environment variable is
only required at the runtime of the JavaPOS Configurator so that the subfolder and the associated
configuration file can be found.
We recommend to use a small batch file named setapplicationname.bat, which should be located in the
directory C:\ProgramData\javapos to set this environment variable because the JavaPOS Configurator
will try to find and run this batch file first.
Example:
Content of C:\ProgramData\javapos\setapplicationname.bat
With the used application name TestApplication, the configuration file javapos.config.properties must
be stored under C:\ProgramData\javapos\TestApplication.
13
until ProBase POS 2.2 still /etc/opt/wn/jpos-all
Linux
In order to customize the output of the JavaPOS configurator, the configuration file
javapos.config.properties must be stored in a directory that is meaningfully named after the application.
This directory with the configuration file must be located below the directory /etc/opt and this directory
must still be made known to the JavaPOS configurator. To do so, the application/directory name must
be stored in the environment variable $APPLICATION_NAME. This environment variable is only
required at the runtime of the JavaPOS Configurator so that the subfolder and the associated
configuration file can be found.
We recommend to use a small shell script called setapplicationname.sh, which should be located in the
directory /etc/opt/wn/javapos/config to set this environment variable because the JavaPOS configurator
will try to find and execute this shell script first.
Example:
Content of /etc/opt/wn/javapos/config/setapplicationname.sh
With the application name TestApplication, the configuration file javapos.config.properties must be
stored in the directory /etc/opt/TestApplication.
Note: A template for javapos.config.properties can be found in the directory <ProBase POS Installation
directory>\config.
Definition of JposEntries
JposEntries are specified by their names (JposEntry property "logicalDeviceName"; also known as
OpenName). In addition, each JposEntry can be assigned a name which is more convenient for the
application or is used by the application by default.
Syntax:
jpos.names=<Name1>,<Name2>,<Name3>,…
# this is a comment
jpos.names=printer1,scanner1,cashdrawer1
jpos.name.printer1=WN_TH250_COM
jpos.name.scanner1=DLS-Gryphon-GD4135-USB-Scanner
jpos.name.cashdrawer1=WN_CD_PORT
…
In this example, the application uses OpenNames "printer1", "scanner1" and "cashdrawer1", where the
names "WN_TH250_COM", "DLSGryphon-GD4135 USB Scanner" and "WN_CD_PORT" are the
original names as they are defined in the original XML files supplied by the manufacturer.
Syntax:
jposentry.<Original-OpenName>.<Property-Name>=<New-Value>
Example:
# this is a comment
jposentry.DLS-Gryphon-GD4135-USB-Scanner.beepDuration=2
# the POS printer is connected to COM1 instead of COM2
jposentry.WN_TH250_COM.portName=COM1
# We are using a cash drawer reporting the status in iverted manner
jposentry.WN_CD_PORT.invertedStatusPolarity=true
…
Windows
Since ProBase POS 2.3, the user has the option to explicitly specify the JavaVM. To do so, a
configuration file called javahome.ini has to be created under <ProBase POS installation
Linux
Since ProBase POS 2.3, the user has the option to explicitly specify the JavaVM. To do so, a
configuration file called javahome.env has to be created under <ProBase POS configuration
directory>\config, which then contains the variable JAVA_HOME with the path to the desired JavaVM
JRE.
Example:
Content of <ProBase POS configuration directory>/config/javahome.env
JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.45/jre
Note: The configuration file must be created in the directory config below <ProBase POS Installation
Directory>. If it is not present, the Javapos Configurator behaves as before and tries to determine the
JavaVM itself.
Alternatively, the OPOS configuration can also be changed via the provided OPOS Config Tool. This
can be done either with the application HWD55ConfUDM.exe from the directory <ProBase POS
installation directory>\opos\common\bin or via the Windows Start menu with OPOS Configuration
Program under Start > All Programs > Wincor Nixdorf ProBase POS (xx-bit JVM) > OPOS (UDM) >
OPOS Common.
In this case too, the devices are grouped into device categories according to UnifiedPOS, which can be
selected via the tabs in the tool. The device to be edited must then be selected via the Variants of
Peripheral drop-down list. The configuration parameters shown in the list Current Parameters can then
be changed via the selection in Possible Values.
Note: This variant of the configuration is the recommended way because the parameters can only
contain valid values through the predefined selection.
The OPOS configuration tool must be started with administrator rights so that the changes can be
permanently transferred to the registry.
Windows
The following parameters for the UDM server can be changed in the batch file UDMServer.setup.bat in
the directory <ProBase POS installation directory>\bin.
Variable/Parameter Meaning
Further parameters for the UDM server can be changed in the batch file UDMServer.exe.bat in the
directory <ProBase POS installation directory>\bin.
Variable/Parameter Meaning
Note: In order to simplify the integration of the UDM server into the productive system, the UDM server
was configured by default to an automatic startup behavior. The UDM server is automatically started on
the first open() call on a device from the UDM client. This automatic startup behavior can currently only
be used with OPOS and CPOS.
If this startup behavior is to be changed, the parameter StartAsChildProcess must be changed in the
Windows Registry under HKLM\SOFTWARE\Wincor Nixdorf\UDM\Server.
For further information, please refer to chapter 5.1.4 of the UDM User Guide under <ProBase POS
installation directory>\doc.
Variable/Parameter Meaning
StartAsChildProcess Enables automatic starting of the UDM server if the parameter is set to a
value of 1 or greater. A value of 0 disables the automatic start and the UDM
server has to be started independently before the application starts.
Default is 1
Linux
The following parameters for the UDM server can be changed in the shell script udmStartServer.sh in
the directory <ProBase POS installation directory>\bin.
Variable/Parameter Meaning
WATCHFILE Directory and name of the UDM server watchfile. Used to automatically
restart the UDM server as long as the file exists.
Default is $WATCHFILE_DIR/delete_for_stopping_udm
WATCHFILE_DIR Directory for the UDM Server watchfile.
Default is $UDM_VAR_DIR
Note: The UDM server can be started manually via udmStartServer.sh to be found under <ProBase
POS installation directory>/bin. The UDM server is then started as a process in the terminal console and
can be terminated by closing the terminal console.
Since ProBase POS 2.2, a UDM server daemon is also included. The UDM server can be started,
stopped or restarted via this service. Furthermore, the status of the service can also be queried. To do
this, use the following command from the terminal console
service wn-udm <start | stop | restart | status>
Example: Start of the UDM servers
service wn-udm start
6.6.2 UDM client configuration - CPOS
The UDM client for CPOS delivered with ProBase POS is already configured and ready for use with the
standard settings for POS systems.
If necessary, the default settings for the UDM client can be modified using the following environment
variables.
WN_JAVAPOS_UDM_LOGFILE Name und path of the log file of the UDM C-client.
If “stdout” is used, then the log output will be directed to
standard output (e.g. terminal console on display);
Default is „“ (leer)
WN_JAVAPOS_UDM_PORT The port number of the socket connection of the UDM
server;
Default is 1131
WN_JAVAPOS_UDM_HOST The hostname on which the UDM server is running.
Typically, it is the system on which the application is
running and thus localhost.
Default is 127.0.0.1
WN_JAVAPOS_UDM_MAXLINE The maximum size (number of characters) that can be
transmitted through the socket connection using a
UnifiedPOS call;
Default is 128.000
Windows
Note: On Windows, environment variables can be created or changed temporarily using the command
set at the command line or in the application start script. Environment variables can also be created or
changed permanently via the system tools such as Control Panel > System > Advanced system settings
> Advanced > Environment variables or the Windows Registry.
Linux
Note: On Linux, environment variables can be created or modified easily in the application start script
using the command export. Environment variables can also be stored permanently under /etc/profile.d in
a separate sh- (bash shell) or csh-file (C shell) with an own filename and therein with the command
export. In this case a system restart is necessary that the changes can take effect.
Example:
Content of /etc/profile.d/activate-udm-cclient-logging.sh
Note: Please make sure that the user does have the necessary execution rights for this script file.
Also make sure that the logfile-path exists and that the user does have the write rights for this folder.
The UDM client configuration for POS for .NET regarding logging is contained in the section <log4net>
in the configuration file P4DNUDMAdapter.config.
Parameter Meaning
For more information, see the P4DN UDM adapter documentation P4DNUDMAdapter.txt under
<ProBase POS installation directory>\p4dn\doc.
Linux
The product installer is a RPM package, which does not provide any special options to log the installer
activities separately. All activities of RPM packages will be registered within the /var/lib/rpm database.
This database can be queried at any time and the output can be formatted as needed and be saved to a
dedicated file.
Additionally to the logging at the rpm database, the installation will also be logged to the yum.log file at
/var/log, with entries like Installed: wn-probase-pos-<major>.<minor>-<build>.<architecture>.
Example:
Installed: wn-probase-pos-2.4-7.i386
Note: As post installation action, the JavaPOS configurator will be started to create an initial
configuration. This JavaPOS configurator run will also be logged. The log files for the JavaPOS
configurator are stored within /var/log/wn/javapos.
Linux
The uninstallation has the same logging mechanism as the installation. Again, all activities of the RPM
package are registered or de-registered within the /var/lib/rpm database. After a successful
uninstallation there is also a corresponding log entry in yum.log under /var/log. This time with entries like
Erased: wn-probase-pos.
Windows
JavaPOS Logging is generally active. The detail level and extent is determined by the WN logger
configuration wn-logger.properties under <ProBase POS installation directory>\config.
To adjust the WN logger output, the following parameters can be modified.
14
http://logging.apache.org/log4j/1.2/
Linux
JavaPOS logging is generally active. The detail level and extent is defined by the WN logger
configuration wn-logger.properties under <ProBase POS configuration directory>/config.
To adjust the WN logger output, the following parameters can be modified.
Parameter Meaning
With default settings the WN-logger records only a few diagnostic information. There are two methods to
enable logging for JavaPOS devices.
1. General activation of the logging for all JavaPOS devices by simply commenting out the line with
log4j.rootLogger=DEBUG, rollingfile and commenting the line with log4j.rootLogger=INFO,
diagnostics.
Example:
Activation of logging for POSPrinter and POSKeyboard devices.
Part of content of the file <ProBase POS installation directory>\config\wn-logger.properties
log4j.logger.POSPrinter.WN_TH230_COM=DEBUG, rollingfile
log4j.logger. LineDisplay.WN_BA63_COM=DEBUG, rollingfile
[HKLM\SOFTWARE\OLEforRetail\ServiceOPOS\POSPrinter\WN_TH230_USB_UDM\Trace]
"FileLenMax"="1024"
"FileName"="C:\Temp\SO_POSPrinter_UDM.txt"
"Level"="1"
Example:
Tracing activated at the OPOS ControlObject for POSPrinter
[HKLM\SOFTWARE\OLEforRetail\ControlOPOS\POSPrinter\Trace]
"FileLenMax"="1024"
"FileName"="C:\Temp\CO_Ptr.txt"
"Level"="1"
Note: In order for the changes to be stored permanently in the registry, the registry editor must be called
with administrator rights.
Alternatively, the tracing for the OPOS devices can also be changed either with the application
HWD55ConfUDM.exe from the directory <ProBase POS installation directory>\opos\common\bin or via
the Windows Start menu with OPOS Configuration Program under Start > All Programs > Wincor
Nixdorf ProBase POS (xx-bit JVM) > OPOS (UDM) > OPOS Common.
The ServiceObject Trace Information and ControlObject Trace Information sections can be used to
enable the tracing for the current device or the used control object, and to modify the output.
To activate the appropriate tracing, the parameter Level must be changed to a value greater than 0. The
parameter FileName can be used to adjust the path and filename for the trace file.
Note: The OPOS configuration tool must be started with administrator rights so that the changes are
permanently transferred to the registry.
Windows
The logging for the UDM server can be activated in the batch file UDMServer.exe.bat in the directory
<ProBase POS installation directory>\bin.
Variable/Parameter Meaning
The name and directory for the log file of the UDM server can be changed in the batch file
UDMServer.setup.bat in the directory <ProBase POS installation directory>\bin.
Variable/Parameter Meaning
Note: If the startup behavior of the UDM server has been changed in the registry, the logging of the
UDM server can also be configured in the Windows registry. For further information, please refer to
chapter 5.1.4 of the UDM User Guide under <ProBase POS installation directory>\doc.
Linux
The logging for the UDM server can be activated with the shell script setlogging_udmserver.sh from the
directory <ProBase POS installation directory>/bin. Two log-levels are possible, which are passed to the
script by a parameter with the value 1 or 2. The meaning of the values is as follows.
1 disables logging / activates normal logging
2 enables extended logging
Example:
Call of the shell script from the terminal
sh setlogging_udmserver.sh 1
WN_JAVAPOS_UDM_LOGFILE Name und path of the log file of the UDM C-client.
If “stdout” is used, then the log output will be directed to standard output
(e.g. terminal console on display);
Default is „“ (leer)
Windows
Note: On Windows, environment variables can be created or changed temporarily using the command
set at the command line or in the application start script. Environment variables can also be created or
changed permanently via the system tools such as Control Panel > System > Advanced system settings
> Advanced > Environment variables or the Windows Registry.
Linux
Note: On Linux, environment variables can be created or modified easily in the application start script
using the command export. Environment variables can also be stored permanently under /etc/profile.d in
a separate sh- (bash shell) or csh-file (C shell) with an own filename and which contains the command
export. In this case a system restart is necessary that the changes can take effect.
Example:
Content of /etc/profile.d/activate-udm-cclient-logging.sh
Note: Please make sure that this script file does have the necessary user rights for execution. Also
make sure that the logfile-path exists and also has the necessary write rights for the user. User rights
can be changed with the command chmod.
7.7.3 UDM client logging – OPOS
OPOS uses the same UDM client as CPOS. See chapter 7.7.1 - UDM server logging for more details.
7.7.4 UDM client logging – P4DN
Logging for the UDM client for P4DN is contained in the section <log4net> in the configuration file
P4DNUDMAdapter.config under <ProBase POS installation directory>\p4dn\bin.
Windows
The output of the JavaPOS Configurator, called by the batch script config_javapos_startup.bat, is still
directed to stdout. Only the vbs script config_javapos_startup.vbs directs the output of the JavaPOS
Configurator to the defined log-file.
The output for the generated JavaPOS configuration is then written into the log file
config_javapos_startup.bat.log under C:\ProgramData\javapos\wn\log.
Linux
The output for the generated JavaPOS configuration is written into the log file
config_javapos_startup.sh.log under /var/log/wn/javapos by the bash shell script
config_javapos_startup.sh.
At the end of each ProBase POS 2 installation, the JavaPOS Configurator can be executed as a post-
install action to create an initial JavaPOS configuration. This option is activated by default. The log files
generated during installation differ from the normal log files of the JavaPOS Configurator in the name.
As a result, these log files are not overwritten by the normal calls of the JavaPOS Configurator.
Windows
The output from the JavaPOS Configurator during the installation is written into the log file
config_javapos_startup.bat.log under C:\ProgramData\javapos\wn\log.
Linux
The output from the JavaPOS Configurator during the installation is written into the log file
config_javapos_startup.sh.log under var/log/wn/javapos.
8.1 JPOS
Windows
The JavaPOS programming examples are located in the directory <ProBase POS installation
directory>\doc\examples.
Linux
The JavaPOS programming examples are located in the directory <ProBase POS installation
directory>/doc/examples.
8.2 OPOS
The OPOS programming examples are located in the directory <ProBase POS installation
directory>\opos\common\Samples.
8.3 CPOS
Windows
The CPOS programming examples are located in the directory <ProBase POS installation
directory>\cpos-udm\samples.
Linux
The CPOS programming examples are located in the directory <ProBase POS installation
directory>/cpos-udm/samples.
8.4 P4DN
The POS for .NET programming examples are located in the directory <ProBase POS installation
directory>\p4dn\doc\examples.
Windows
The JavaPOS Tool Center is started either from the Windows Start menu at Start Menu > All Programs
> Wincor Nixdorf ProBase (xx JVM) > Wincor Nixdorf ProBase Tool Center or directly with the batch file
start_probaseToolCenter.bat from the directory <ProBase POS installation directory>\bin.
Linux
The JavaPOS Tool Center is started directly with the Shell-script start_probaseToolCenter.sh from the
directory <ProBase POS installation directory>/bin.
The JavaPOS Tool Center is then presented as follows.
The SwingSamples are called up either via the JavaPOS ToolCenter (see chapter 9.1 - JavaPOS Tool
Center) or directly via the respective call scripts.
Linux
<ProBase POS installation directory >/bin/start_jartpack.sh
After selecting a device category, a JavaPOS device (OpenName) and possibly necessary
communication port parameters, either a simple test or an extended test can be called. In order to start
the extended test, the checkbox for [Extended Test] has to be selected. The test is started by clicking
[Submit].
By clicking on the button [TEST: "WN_TH230_U1_USB"] (or similar with other JavaPOS devices) the
simple test can be executed. The result is displayed in the box below.
The extended test mode is somewhat more complex and thus offers better test and analysis
possibilities.
Each test usually begins by clicking [open], clicking [claim], and checking the [DeviceEnabled] checkbox.
In a few cases, the device classes do not support the claim() command, so that must be omitted.
Afterwards the other offered methods can be used for testing.
9.3.2 OPOS Config Tool
The OPOS Config Tool also provides a test to check the basic configuration in a simple communication
test.
To start, the OPOS Config Tool is to be found in the Windows Start menu with Start menu > All
Programs > Wincor Nixdorf ProBase (xx JVM) > OPOS (UDM) > OPOS Common > OPOS
Configuration program or directly via the application HWD55ConfUDM.exe to be found within the
directory <ProBase POS installation directory>\opos\common\bin.
After the start, the OPOS Config Tool presents itself as follows.
After selecting a device category and an OpenName from the list, a simple communication test for the
selected device can be started using [Run the test]. The test result is displayed in the box below.
Each test usually begins by choosing an OpenName, and then clicking [Open], clicking [Claim], and
checking the [DeviceEnabled] checkbox. In a few cases, the device classes do not support the claim()
command, so that must be omitted. Afterwards the other offered methods can be used for testing.
For the other test tools, it is analogous.
CashDrawer
All Wincor Nixdorf cash drawer connected to the cash drawer port of BEETLE POS systems,
connected via WN POS printer or via WN fiscal printer
All Wincor Nixdorf cash drawer connected to Multi I/O Hub NEW
FiscalPrinter
Wincor Nixdorf fiscal printer MF-EJ210 Greece
Wincor Nixdorf fiscal printer MF-EJ210 Turkey
Wincor Nixdorf fiscal printer MF-EJ320 Greece
Wincor Nixdorf fiscal printer MF-EJ320 Turkey
Wincor Nixdorf fiscal printer MF-ND77 Romania
Wincor Nixdorf fiscal printer MF-TH210 Hungary with AEE (FL 2016 prepared)
Wincor Nixdorf fiscal printer MF-TH230+ Hungary with AEE (FL 2016 prepared)
Wincor Nixdorf fiscal printer MF-TH230+ Romania (incl. CommModule) (FL 2016 prepared)
Wincor Nixdorf fiscal printer MF-TH230+ Italy with FFC
Wincor Nixdorf fiscal printer MF-TH320 Hungary with AEE (FL 2016 prepared)
Wincor Nixdorf fiscal printer MF-THF Romania
Wincor Nixdorf fiscal printer TH230-MF Bulgaria (incl. TaxTerminal)
Wincor Nixdorf fiscal printer TH230-MF Italy
HardTotal
Non-volatile memory mapped on hard drive or flash memory
Keyboard
All Wincor Nixdorf keyboards with related sub-devices keylock and MSR
Wincor Nixdorf keyboard connected to WN display BA82/BA83
Keylock
LineDisplay
Wincor Nixdorf two-line line display BA63
Wincor Nixdorf four-line line display BA66
Wincor Nixdorf line display BA63 / BA66 connected via ND77, ND210, TH230, TH230+ POS
printer
Wincor Nixdorf line display BA63 / BA66 connected via MF-ND77, MF-EJ210, MF-EJ320, MF-
TH230+ (AEE and FFC), TH230-MF, MF-THF, MF-TH210, MF-TH320 fiscal printer
Wincor Nixdorf line display connected to BEETLE /EXPRESS
Wincor Nixdorf five-line line display VGA/4 over VGA/4 display server
Wincor Nixdorf four-line line display on BA69 connected via Embedded Scale Controller
Wincor Nixdorf line display connected to BEETLE /iPOS+
Wincor Nixdorf virtual line display
MICR
Wincor Nixdorf two-station thermal printer TH320
Wincor Nixdorf two-station thermal printer TH420
MotionSensor
Wincor Nixdorf Motion Sensor at COM port (RS232)
MSR
Wincor Nixdorf MSR connected via WN POS keyboards
MSR Nidec Sankyo Corporation ICM330
MSR 213U connected to BEETLE /iPOS+
MSR 7816 Swipe and Park
Wincor Nixdorf MSR connected to WN BA7x, BA8x, BA9x, BEETLE /FUSION, BEETLE /iPOS,
SNIkey
MSR Hitachi-Omron V2X Series
POSPower
External Uninterruptible Power Supply MPS1086
POSPrinter
Wincor Nixdorf three-station matrix printer ND77
Wincor Nixdorf single-station matrix printer ND210
Scale
All Wincor Nixdorf scales named WExx using CHECKOUT DIALOG 06
Datalogic scale Magellan 8202
Datalogic scale Magellan 8502
All Wincor Nixdorf scale named connected to Embedded Scale Controller using Scale
Transaction Module
Shekel security scale
Mettler security scales
Mettler Toledo scale BC15
Mettler Ariva scale using CHECKOUT DIALOG 06 via VCO-disp software
Mettler Viva scale using CHECKOUT DIALOG 06 via VCO-disp software
Mettler Spider Software scale
Scanner
All Wincor Nixdorf scanner named ELxx with WN communication protocol NIXDORF RS232C
Mode A or B
All Wincor Nixdorf scanner named ELxx with default settings mode according to IBM´s 'USB
OEM POS Device Interface Specification' labelled as 'IBM Hand-held USB' or 'IBM Table Top
USB'
Motorola Symbol scanner (formerly Symbol Technologies, Inc.) supporting the WN
communication protocol NIXDORF RS232C Mode A
Motorola Symbol scanner (formerly Symbol Technology, Inc.) that comply with IBM´s 'USB OEM
POS Device Interface Specification", version 1.29
Motorola Symbol SE3223 scan engine / barcode reader
Datalogic scanner supporting the WN communication protocol NIXDORF RS232C Mode A
Datalogic scanner Magellan 8400 (RS232 Mode)
Datalogic scanner Gryphon D120 (RS232 Mode)
Datalogic scanner Gryphon D130 (RS232 Mode)
Datalogic scanner Gryphon M100 (RS232 Mode)
Wincor Nixdorf Scanner EL 71 (Zebra scanner DS4308)
ToneIndicator
Wincor Nixdorf internal BEETLE POS system loudspeaker
Wincor Nixdorf OPT built in Special Electronic ACO USB
Wincor Nixdorf C1030 built in Special Electronic ACO USB
Wincor Nixdorf ACO Kiosk Box SEL
Wincor Nixdorf Special Electronic CDL for Modular Postal Systems
Wincor Nixdorf Special Electronic ACO USB
Wincor Nixdorf SCO compact built in Special Electronic ACO USB
Wincor Nixdorf LED-Status-Box Pole light R/G/B at COM (RS232)
Wincor Nixdorf Mini LED Pole light R/G at COM (RS232)
Windows
Note: A JavaVM is also required for the installation profiles OPOS Installation, POS for .NET Installation
and CPOS Installation of the product installer. Especially for this the UDM Default Runtime, a Diebold
Nixdorf distribution package of a Java Runtime Engine (JRE) based on OpenJDK 6 is proposed.
Linux
Note: All Diebold Nixdorf Linux pre-installations provide sufficient JavaVM packages for ProBase POS.
Up to and including WNLPOS 3 these are only 32-bit (i386) JavaVM versions. As of WNLPOS 4, the 64-
bit (x64_86) JavaVM versions are also provided with the pre-installation.
10.3.2 Additional prerequisites
Windows
In case the POS for .NET Installation profile or corresponding POS for .NET components have been
selected (see chapter4.2.1 - Interactive installation), ensure that the following software has already been
installed on the target machine:
Microsoft .Net Framework (at least version 2.0 up to 4.0)
Microsoft POS for .Net (version 1.12)
Additional software packages (e.g., drivers such as WNPOSUSB) may be necessary to support
corresponding devices. This information can be found in the respective user manuals of these devices.
Common components
dn-common 0.3.0
wn-common 1.11.0
wn-common-doc(ument) 1.2.51
wn-common-jnaio 1.2.1
wn-common-rs232 1.2.3
wn-common-rs232-native 1.5.12
15
UDM Security Considerations; Diebold Nixdorf; Denis Kuniss; version 1.0
16
> Intranet > Portfolio > Our Portfolio > Software Solutions > Retail Software Solutions > System Software &
Operating Systems > System oriented Software > UDM
17
ProBase POS 2.1 (32-bit) benötigt die UDM Default Runtime Engine Version 1.1-3 oder neuer
JavaPOS components
wn-javapos-beeper-native 1.5.9
wn-javapos-cashchangers 1.24.5
wn-javapos-cashdrawer 0.1.5
wn-javapos-common 1.9.0
wn-javapos-config 2.4.0
wn-javapos-controls 2.0.1
wn-javapos-diagnostics 1.5.1
wn-javapos-f53 1.19.1
wn-javapos-fiscalprinter 1.34.1
wn-javapos-iscan 1.29.0
wn-javapos-jcl 1.4.0
wn-javapos-jcl-editor 1.4.0
wn-javapos-kbdclaimer-native 1.5.8
wn-javapos-keylock 1.7.1
wn-javapos-kkmusb 1.19.0
wn-javapos-linedisplay 1.9.3
wn-javapos-mps1086 1.10.0
wn-javapos-msr 1.7.1
wn-javapos-portalscanner 1.21.1
wn-javapos-portio-native 1.6.6
wn-javapos-posprinter 1.14.5
wn-javapos-ps7000 1.4.1
wn-javapos-retail 1.28.3
wn-javapos-samples 1.47.1
wn-javapos-scale 1.4.1
wn-javapos-scanner 1.9.1
wn-javapos-selaco 1.18.0
wn-javapos-th250 2.0.1
wn-javapos-thxxx 1.41.0
wn-javapos-tp07 1.16.0
wn-javapos-trace 1.5.1
wn-javapos-tsop 1.6.2
OPOS components
wn-opos-1.6C00-common package 1.6.9.1
Linux
Peripherals Installer Support of Support of
version 32-bit JavaVM 64-bit JavaVM
Line display BA64 1.13.1-1.17.8 x x
Scale Transaction Module 1.4.1 x x
POS Printer TH200 1.13.1-1.11 x x
BA9x NFC/RFID module 1.13.1-2.3 x x
POS Printer ND220 1.13.1-1.9 x x
Cash drawer port at AiO (iPOS+ (Adv.)) 1.13.1-5 x x
You may copy the Software for data protection, archiving and backup purposes. However, only the
strictly necessary amount of backup copies may ever be stored.
You may enhance the Software with third party software via the defined interfaces.
In case you received the Software together with hardware of Diebold Nixdorf, you may only transfer
the right of use granted to you to a third party only in full and together with ownership of the
hardware supplied with it and/or ownership of the original data carrier supplied by Diebold Nixdorf
and only in full acknowledge of this EULA by the third party.
Issue: Minimum requirement for Java VM increased from version 1.5 to version 1.6.
11.2.2 Add-ons
Issue: Added support for cash drawer port of Multi-IO-Hub with JposEntry DN_CD_HUB.
Affects: wn-javapos-cashdrawer
Issue: Added support for BA63/66 line display connected to a Greek fiscal printer including proper
code page mapping from Unicode to ELOT928 as required by the fiscal printer FW.
Affects: wn-javapos-linedisplay
Issue: Added support for codepage 1252 older THxxx POS printer (MKS-2207159).
Affects: wn-javapos-thxxx
Issue: POS printer command open caused NullPointerException under WNLPOS / Linux for all
printer using usbprint.sys (e.g. VKP80III).
Issue: The update installation on WNLPOS had some minor issues related to FIFO, UDM server,
and config files (PTC 2027478).
Affects: wn-javapos-config; wn-javapos-samples; wn-javapos-retail
PF43 Unicode encoding at line displays connected to Greek fiscal printer was incorrect
Issue: The Unicode character encoding for line displays connected to a Greek MF-EJ210 or MF-
EJ320 fiscal printer was not correct (PTC#2185611).
Affects: wn-javapos-fiscalprinter
PF40 Desktop icon for ProBase POS Tool Center under Linux was missing
Issue: The Desktop link to ProBasePOS Tool Center under WNLPOS / Linux environments was
missing (PTC 1938222).
Affects: wn-javapos-samples
11.2.4 Changes
Issue: The BCR 200 CoinRecycler now recognizes 'EU' as CurrencyCode for EUR also.
Affects: wn-javapos-cashchangers
Issue: The JavaPOS configurator has an additional return error if the configuration was not written
because of "Zugriff verweigert"/”Access denied”.
Affects: wn-javapos-config
Issue: The error handling for the JavaPOS configurator is improved for cases where the manual
configuration of the JavaVM within javahome.ini is wrong. An error will be raised (PTC
2196841).
Issue: The configuration parameter "FColor" and "BColor" changed to "foregroundColor" and
"backgroundColor". The old parameter names are still applicable for backward compatibility.
Affects: wn-javapos-linedisplay
Issue: The support for the Zebra label printer (open names WN_ZEBRA_COM and
WN_ZEBRA_USB) is removed (PTC#2186591).
Affects: wn-javapos-posprinter
Issue: The TH250 RS232 POS printer require "RS232" as configuration value for the
"infoConnectionType" configuration property.
Affects: wn-javapos-posprinter
Issue: To regain coherence between PBP for Windows and Linux, the
doc/examples/*SimpleTest.java files were removed (PTC 2027717).
Affects: wn-javapos-samples
Issue: Avoiding SUE corresponding TSOP events are logged to the diagnostics file.
Affects: wn-javapos-tsop
Issue: The Rolling File Appender was re-added and within the logging config file, the categories
were sorted and double entries removed (PTC 2175979).
Affects: wn-logger
Issue: Serious JRE errors at UDM server level are now logged as fatal errors to get a trace of them.
Affects: wn-udm-javapos
Issue: In case of PDH is not claimed, now the error code -1012 will be returned instead of error
code -1008 as error code -1008 is already used in other connection reject situations.
Affects: wn-udm-javapos
PC62 Installer check box text at the post run dialog enhanced
Issue: The check box note text at the installer post run dialog is now well-defined.
Affects: wn-udm-javapos
Issue: The performance on the UDM socket communication was optimized (PTC 2157377).
Affects: wn-udm-p4dn
Issue: Added support for kiosk printer WN VKP80III. Current open name is WNVKP80III_USB.
Affects: wn-javapos-posprinter
Issue: Added configuration option for javapos configuration properties files allowing to reference
newly defined open names at "jpos.entry.<open-name>" definitions. (PTC 2185484)
Affects: wn-javapos-config
PA43 JavaPOS Configurator option to allow JAR files ordering at Java classpath
Issue: Added configuration option for javapos configuration properties files allowing ordering of JAR
files in the generated Java class path by adding an entry "jpos.order.jar=<list-of-jars>" (PTC
1994435)
Affects: wn-javapos-config
Issue: TH230, TH230-FFC Italy: added directIO 1203 - MAP_IMAGE_KEY, particular for OPOS
legacy applications migrating to OPOS/UDM (PTC 2186414)
Affects: wn-javapos-fiscalprinter
PA39 Open Name configuration for RS232 based fiscal printer for MF IT
Issue: TH230-FFC Italy: added open name configuration for RS232 based fiscal printer type
Affects: wn-javapos-fiscalprinter
PA36 JavaPOS entries for SEL of ACO KioskBox and Electronic Keylock behind SEL of ACO KioskBox
Issue: Added script setlogging.vbs for enabling and disabling of simple JavaPOS logging (PTC
2113602)
Affects: wn-logger
Issue: Added configurable buffering of transaction print calls on UDM client side to speed up the
print processing. This feature is configurable via the property "transactionPrintBuffering" at
JavaPOSUDMAdapter.config.xml and/or P4DNUDMAdapter.config (PTC 2152068)
Affects: wn-udm-javapos; wn-udm-p4dn (pos for .net)
Issue: Added optional parameter “session Id” for 'creationInstance' command to allow multiple
connection to a PDH claimed UDM server from different applications (PTC 1702774)
Affects: wn-udm-javapos
Issue: Added configuration parameter “connectionTimeout” for controlling the UDM connection time
out. This can improve the success condition in receiving the UDM server greeting message.
By default set to 30 seconds (PTC 2088111)
Affects: wn-udm-p4dn (pos for .net)
11.3.3 Fixes
Issue: Using the BA64 USB showed some irritating error message on the terminal console under
Linux.
Affects: wn-common-usb-native
PF37 Fiscal printer could make state transitions in case of LOCKED state
Issue: The fiscal printer could falsely state transitions in case of LOCKED state (aka fiscal printer
blocked)
Affects: wn-javapos-fiscalprinter
PF36 Totalizer type FPRT_TT_RECEIPT was not adapted to AEE specifications at MF-HU
Issue: The command getTotalizer() for totalizer type FPTR_TT_RECEIPT used general Hungary
implementation instead of AEE specific one.
Affects: wn-javapos-fiscalprinter
PF35 DirectIOs GET_ARTICLE_LIST, GET`_DEPARTMENT_LIST and GET_HEADER return values are not
PF34 Payment change receipt printing did not allowed positive rounding at MF-HU
Issue: The payment change receipt printing failed when using positive rounding. Especially when
foreign currencies were involved. (PTC 2186388)
Affects: wn-javapos-fiscalprinter
PF32 Payment change receipt definition was not up to date to current fiscal law at MF-HU
Issue: The definition and example for Payment Change Receipt was not up to date, as CASH_OUT
was still allowed to be used. Therefore, the total value was wrong.
Affects: wn-javapos-fiscalprinter
Issue: On update installations on WNLPOS pre-installations, there were several minor issues (PTC
2027478)
Affects: wn-udm-javapos
11.3.4 Changes
Issue: The all devices JavaPOS configuration will now be created under /etc/opt/wn/javapos/all
instead of /etc/opt/wn/javapos/jpos-all under Linux.
Affects: wn-javapos-config; wn-udm-javapos; wn-javapos-samples
Issue: The JavaPOS device control implementation was updated to controls compliant with
UnifiedPOS 1.14 (before controls were compliant with UnifiedPOS 1.13)
Affects: wn-javapos-controls
PC56 Fiscal printer DS update due to new FW version 00-14-34 for MF-RO
PC54 Power-on detection will issue reinitialization of TH180 and WNPP0x printer
Issue: The power-on detection at TH180 and WNPP0x kiosk printers will issue the re-initialization
commands now.
Affects: wn-javapos-posprinter
Issue: The CashDrawer Device Service has a new parameter and the behaviour regarding status
feedback shanged slightly for better handling of situations where the drawer is still/again
closed after openDrawer returns (PTC 2152059)
Affects: wn-javapos-retail
Issue: The USB enable/disable behavior for USB HID scanner is now configurable (PTC Issue
2105635)
Affects: wn-javapos-retail
Issue: The size check of the call BarcodeToImage() changed to allow smaller barcodes to be
printed (PTC 1727140)
Affects: wn-javapos-retail
PC50 JavaPOS tool center will restart with “all-devices” configuration” if no “target” configuration is
available.
Issue: The JavaPOS tool center will not end if no target configuration has been generated and will
be restarted with the “all-devices” configuration instead.
Affects: wn-javapos-samples
Issue: The JavaPOS ToolCenter functionality "Trace Configurator" was changed to "Logging
Configuration” for enabling/disabling simple logging for JavaPOS.
Affects: wn-javapos-samples
PC48 Removed internal calls <GS I 67> at the THxxx DS due to being obsolete
Issue: The call <GS I 67> to check the printer type for TH210 or TH230 is removed from the THxxx
JavaPOS DS because the TH230 has its own device service.
Affects: wn-javapos-thxxx
PC47 TP07 under OPOS UDM checks now the configuration parameter “setRecLineSpacing”
Issue: The TP07 running under OPOS UDM will now check the optional configuration parameter
setRecLineSpacing (PTC 1727219).
Affects: wn-javapos-tp07
PC46 WN-Logger will now check the result code from the UAC dialog
Issue: The WN-Logger will now check the result code from the UAC dialog under Windows to avoid
hang-ups at the logger start-up when the UAC dialog is canceled by the user. (PTC
2113602)
Affects: wn-logger
PC45 UDM server logging will now create the log directy
Issue: The UDM server logging under Linux will now create the log directory if not available to avoid
that the UDM server is not starting.
Affects: wn-udm-javapos
Issue: The UDM Adapter avoids now UDM answer analysis failures if dollar '$' (0x24) or backslash
'\' (0x5c) characters are contained in the answer from the UDM server.
Affects: wn-udm-javapos
Issue: Added configuration property "paperNearEndReceiptCounter" to support new day begin run
time FW property at TH230-FFC
Affects: wn-javapos-fiscalprinter
Issue: Added configuration property "partialCutPercentage" to control partial cut static as well as
directIO 811 to control partial cut dynamically for TH230-FFC and TH230-MF
Affects: wn-javapos-fiscalprinter
Issue: Added pairing check for Till Check receipt as requested by fiscal law for AEE
Affects: wn-javapos-fiscalprinter
Issue: Added printRecTaxId command to allow tax Id registration for being printed with
endFiscalReceipt at TH230-FFC
Affects: wn-javapos-fiscalprinter
Issue: Added default unit name for printRecItem as unit name is mandatory by fiscal law for TH230-
FFC
Affects: wn-javapos-fiscalprinter
Issue: Added directIO 820 - PRINT_SELFTEST for issuing a fiscal self-test printout (required by
homologation in Romania) for TH230-FFC
Affects: wn-javapos-fiscalprinter
Issue: Added BA9x M4 MSR product ID 0x0405 to supported usb product id's (change applies to
Linux only) at JposEntry "WN_MSR_USB”
Affects: wn-javapos-kkmusb
Issue: Added directIO GET_DOCKED for POS Device Hub controller (PTC#2060837)
Affects: wn-udm-javapos
PF29 WN-Logger throws exception when used with Trace log level
Issue: When using the WN-Logger with log level “Trace”, exceptions were thrown. Some other
small issues with JMX, wrong re-initialization at device open calls occurred also.
(PTC#2027756)
Affects: wn-javapos-cashchangers; wn-javapos-f53; wn-javapos-iscan; wn-javapos-retail; wn-
javapos-selaco; wn-javapos-tp07; wn-javapos-thxxx; wn-javapos-tsop
Issue: The PrintBarcode command for EAN128 result was wrongly Code128 and was in general
below the maximum of possible barcode data (PTC 1772682)
Affects: wn-javapos-retail
PF27 Starting scripts of JavaPOS ToolCenter and SwingSamples runs endless or crashes
Issue: In certain configurations it was possible to have the caller scripts of JavaPOS ToolCenter or
SwingSample run endless or to crash with exceptions. (PTC#2026949; #1938198;
#1938198)
Affects: wn-javapos-samples
Issue: A StackOverflowError occurred during processions of very long receipts with Arabic text
(MKS-2000376)
Affects: wn-javapos-thxxx
Issue: The result of the method getSlpNearEndSensor was not managed by the capability
CapSlpNearEndSensor of the TH230 USB
Affects: wn-javapos-thxxx
Issue: The conversion for properties including byte arrays failed at the P4DN UDM adapter
(PTC#1830492)
Affects: wn-udm-p4dn
Issue: The logrotate configuration for the UDM server logging was broken and the log file was
overwritten at system start, when UDM server was startet automatically causing lost log file.
(PTC#2065690)
Affects: wn-udm-javapos
Issue: The payment line alignment was not correct at TH230-FFC (MF-IT)
Affects: wn-javapos-fiscalprinter
Issue: The auto detection for IndexOutOfBound exception in case of wrong answers from MFC was
not correct at AEE (MF-HU)
Affects: wn-javapos-fiscalprinter
Issue: NPE happening for printRecItemRefund and printRecItemRefundVoid calls in case of weight
items was not correct at AEE (MF-HU)
Affects: wn-javapos-fiscalprinter
PF17 Encoding of several printRec methods led to problems printing special Hungarian chars
Issue: The documentation of negative receipts was not correct at AEE (MF-HU)
Affects: wn-javapos-fiscalprinter
PF15 DirectIO 1203 and 808 did not avoid other directions called subsequently
PC42 Substitute all Windows API calls with secure API calls
Issue: All unsecure Windows API calls are substituted by corresponding secure calls
(PTC#1553222)
Issue: The direction 1053 - payInPayOutAbort accepts now a parameter for rejectMoney =
true|false
Affects: wn-javapos-cashchangers
Issue: The direction 1052 - PayIn-PayOut / Deposit Auto Change is now turned into an
asynchronous call
Affects: wn-javapos-cashchangers
PC37 Create log file for JavaPOS Configurator run at Linux system start
Issue: The log file 'config_javapos_startup.sh.log' will now be created on every call of
'wn_javapos_config.sh' (PTC#2021695)
Affects: wn-javapos-config
Issue: The timer instance is now reused instead of creating new instances (MKS-1985117)
Affects: wn-javapos-iscan
Issue: Moved logging file creation from <data base dir>\logs\jddConfigFiles to <data base
dir>\log\jddConfigFiles to follow specification requirements more strictly (PTC#1952421)
Affects: wn-javapos-selaco
Issue: Enabled the print barcode command on slip enabled for Pharmacy printer (Jump)
Affects: wn-javapos-thxxx
Issue: Changed the logging to log4net as log file rotation to be configured with 10 files per 1 MB
Affects: wn-udm-p4dn
Issue: The POSDeviceHub.dll is now separated from the P4DNUDMAdapter.dll to get several
application running on the same machine which utilize POSDeviceHub access.
Affects: wn-udm-p4dn
PC28 Modified exception messages and replace %20 characters with spaces
Issue: The exception messages coming from the UDM server are now modified by properly
replacing '%20' characters with spaces
Affects: wn-udm-p4dn
Issue: Logging errors about trailing spaces coming from UDM server reduced to avoid
misunderstandings at application side
Affects: wn-udm-p4dn
Issue: The trace message on the xOpenService method is modified to avoid a info note being
misunderstood as error
Affects: wn-udm-opos
Issue: The proprietary UDM server logging to stdout is replaced by common WN logging; the UDM
server logging is also controlled by the wn-logger.properties file; however, it can still be
enabled programmatically through the '-debug' command line option within the caller script.
Affects: wn-udm-javapos
PC24 UDM server will now send the tablet undock command directly instead of calling a shell command
Issue: The UDM server will now send the tablet undock command directly from inside and not by
executing a configured shell command (precondition for realization of Windows based POS
Device Hubs).
Affects: wn-udm-javapos
Issue: The POS Device Hub call checker configuration file is now available under Windows as
"config\pdh.properties"
Affects: wn-udm-javapos
PC21 Library is compiled statically against C runtime to avoid missing runtime library
Issue: The library is now statically compiled against Microsoft C runtime library to avoid missing
msvcrt*.dll at runtime.
Affects: wn-udm-cpos
Issue: The log4j configuration will now avoid interferences with application's log4j configuration
provided by the application as log4j.xml or log4j.properties resources file on the class path.
Affects: wn-logger
PA15 DisableASBonClose
Issue: Added DisableASBonClose to help after Stall PID / Abort Pipe / Missing IN Token /
USBD_STATUS_XACT_ERROR issues (.
Affects: wn-javapos-thxxx (DS WNPOSPrinterTH230)
Issue: Added OEM code page mapping for payment descriptions ensuring Hungarian special
characters are printed well (PTC #1958558) for AEE
Affects: wn-javapos-fiscalprinter
Issue: Added support and JavaPOS entries for Zebra scanner DS4308 as EL 71 (PTC 1910729)
Affects: wn-javapos-retail
Issue: Added directIO commands 114, 115, and 116 (similar implementation as already done for
WNScanner.class) (PTC 1951607)
Affects: wn-javapos-retail (com.wn.retail.jpos113.WNScannerUSB.class)
Issue: Added new WNScanner global Symbology Identifier to WNScanner.class being supported
by Intermec ED 40 Scanner
Affects: wn-javapos-scanner
Issue: Added DeviceAdapter for Intermec ED40 Scanner (as requested by MPS project)
Affects: wn-javapos-scanner
Issue: Added configuration option 'enableNixdorfModeCompatibility' that will, if enabled, replace the
ScanData as received from DeviceAdapter by NixdorfPrefix + LabelDate + \n.
Affects: wn-javapos-scanner
11.5.3 Fixes
PF13 Administrator rights were not checked and requested from JavaPOS Configurator
Issue: The product installer does not check whether a JRE is installed before installing the
components.
Affects: wn-javapos-config
Issue: corrected getData(PRINTER_ID) for Italy, devices TH230-MF, MF-EJ-THF and MF-THF
(PTC 1963625)
Affects: wn-javapos-fiscalprinter
Issue: The WN_VIRTUAL_LINEDISPLAY could freeze the Java program if text in the virtual line
display was selected (PTC 1937961).
Affects: wn-javapos-linedisplay
PF9 KBDClaimerTestMain class was not available at Low Level Tests anymore
Issue: The KBDClaimerTestMain class was not available anymore at the "POSKeyboard Low Level
Test" in Probase ToolCenter (PTC #1938238)
Affects: wn-javapos-retail
Issue: Sample .bmp and .txt files had missing path (PTC 1938006)
Affects: wn-javapos-samples
Issue: JavaPOS examples compilation scripts (compile.bat and runtest.bat) were not executable.
Now prepared to be run as Administrator from the explorer (PTC 1950122)
Affects: wn-javapos-samples
PF5 Reset bitmap with empty string showed wrong error code
Issue: Resetting of stored bitmaps by calling empty string (for path and filename) on printer throw
an error 'Error at UDM server: setBitmap: file name not found' (PTC 1856175)
Issue: The alignment of a rotated barcode was not possible (PTC 1767999).
Affects: wn-javapos-thxxx (DSWNPOSPrinterTH230)
Issue: Provided examples compilation could not be used out of the box (PTC 1947176, 1952624)
Affects: wn-udm-cpos
Issue: The UDM server connection could dead lock the application under circumstances, where the
connections was not fully established before forcing createInstance (PTC 1636333)
Affects: wn-udm-cpos
11.5.4 Changes
Issue: CIM log files will now be stored within <data base dir>\log\cim on Windows (previously <data
base dir>\logs\cimAdapter) accordingly the JavaPOS guide line requirements (PTC
1952421)
Affects: wn-cim
Issue: JavaPOS log files will now be stored within /var/log/wn/javapos on Linux (previously
var/log/wn_javapos) accordingly the JavaPOS guide line requirements
Affects: wn-common-usb-native
Issue: Diagnostics log files will now be stored within <data base dir>\log\diagnostics on Windows
(previously <data base dir>\logs\diagnostics) accordingly the JavaPOS guide line
requirements (PTC 1952421)
Affects: wn-javapos-diagnostics
PC15 Error will be thrown for VLD when used on Linux without XWindow
Issue: A JposException ILLEGAL will be thrown in case the virtual line display is opened on a Linux
without a running XWindows system.
Affects: wn-javapos-linedisplay
Issue: The paper cut of full cut is now with paper management (the cut will be between the labels),
the partial cut cuts the paper at the actual position for all WN_PP0x printer.
Affects: wn-javapos-posprinter
Issue: The MSR config param clearTime was changed to msrClearTime and will be initialized
different for Windows and Linux (default here is 1250).
Behaviour of MSR thread start & retry to open pipes is now configurable (default is set to 3)
because the MSR thread still purges old/illegal card data for 200 ms after thread start (PTC
1565155)
Affects: wn-javapos-retail, wn-javapos-kkmusb
Issue: Behavior of directIO commands sending commands to scanner changed and will now also
validate the responses. If command is rejected by the device a JposException is thrown
(PTC 1951607)
Affects: wn-javapos-retail
PC11 Changed default Line display device name and parameter at SwingSamples
Issue: The default device name and the parameter for row and column at linedisplay test as well as
the xPositionVD default value (set to 100) for the virtual line display was changed (PTC
1950099)
Affects: wn-javapos-samples
Issue: JavaPOS log files will now be stored within <data base dir>\log on Windows (previously
<data base dir>\logs) accordingly the JavaPOS guide line requirements (PTC 1952421)
Affects: wn-javapos-trace, wn-logger
Issue: Avoid trace pop-up window, which is shown when X-server was started and trace is enabled
on Linux (PTC 1982499)
Affects: wn-udm-javapos
Issue: The behaviour of scanner devices when the configuration option 'hardwareAutoDisable' is
set to true is changed. Now explicit calls to setDataEventEnabled(true|false) will enable or
disable laser in order to enable or disable scanning. Default value of this configuration
option, also valid if key is not set at all, is changed to true. (PTC 1930509)
Affects: wn-javapos-scanner
Issue: The implementation of AEE based Hungarian fiscal printer devices is now adapted as
required by law change in 2016
Affects: wn-javapos-fiscalprinter
Issue: The exceptions in case of an error at Open() and Close() are changed from
JPOS_E_CLOSED to JPOS_E_FAILURE.
Affects: wn-javapos-kkmusb
Issue: The Enable() and Disable() requests for scanner peripherals will now wait for its related
responses.
Affects: wn-javapos-retail
55 / 77 / 46 / 5