Please review the Sun Ray server software documentation for accessing the Sun Ray appliance USB serial and parallel adapters.
The portmapping feature also sets up logical port names for physical port names, for example, com1 could be made the logical name for /dev/cua/a. Even '/dev/cua/a' could be made the logical name for the physical device /dev/cua/a, because, to access a serial port via its physical name on the SunRay platform, it is necessary to facilitate it using a logical name; there is no alternative.
Portmapping is configured in the portmap.properties file. portmap.properties must reside in the same directory as the comm.jar, that comes with the Java Communications API package.
Each entry in the file lists the Sun Ray appliance terminal ID and its associated communications ports' physical and logical names. Each entry is composed of a single line of the form:
A '#' indicates the beginning of a comment; characters up to the end of the line are not interpreted by routines that search this file.Sun Ray Terminal ID Physical Name,Logical Name [Physical Name,Logical Name]*
An example file:
# FILE : portmap.properties.Determining the Sun Ray Appliance Terminal ID
# This file is in the format:
# <SunRay ID> physical-port,logical-port [physical-port,logical-port...]
# IEEE802.080020ac3fa5 /dev/term/a,com1 /dev/term/c,com2
# IEEE802.080020ac3fa5 /dev/term/b,com1 /dev/term/e,com2
# IEEE802.080020bef0a2 /dev/term/a,barcodeReader /dev/terrm/b,/dev/term/b
To determine the Sun Ray appliance terminal ID:
As a result of executing this command,
the full SunRay ID will be displayed
(which can be used in the portmapping file).
All Rights Reserved.