Installing the WOSA Device Service

To successfully run the WOSADeviceService Java(TM) class with a financial printer, install the WOSA Device Service as follows:
  1. Ensure that the WOSA/XFS manager and the printer SPI drivers are properly installed and configured in the target machine. This installation is system-dependent. Its documentation is provided with the WOSA/XFS manager and the SPI driver.
  2. Ensure that the native code DLL files are available to the Java code. You can do this by placing those files in the working directory or in a directory contained in the PATH environment variable (after the toolkit is installed, these DLLs are in the install_directory\services\wosa directory). The following are the files:
    • DSEWOSA.DLL: The generic native code.
    • The device-specific native code. The name of this file is given in the instance attribute "deviceType". For example, for financial printers, the value of deviceType is "DSEWPTR", and the DLL file is DSEWPTR.DLL.

Some trace files can be generated if the trace level is not 0 (see the WOSA/XFS API function WFMSetTraceLevel for more information.)