RicohJavaDevice
provides methods for retrieving the device model name, but it can be observed that the model name is often empty [or "unavailable" if you use the RicohJavaDevice#debug()
interface to log all the known device info]. Why is the device model name sometimes empty?
Methods such as getDOMDeviceName()
and getEXPDeviceName()
are convenience methods for fetching the "friendly" domestic or export names given to devices upon release. However, these friendly names are not guaranteed to be available via RXOP because they are actually part of the RXOP internal data structures for Ricoh devices.
This data is updated from time-to-time, but if a model is released after the version of RXOP you are compliing against, then those friendly names will not have been updated. Thus, they will be unavailable to RicohJavaDevice
for some devices from this API.
Since RXOP v3.8.9 the getPnp()
API should return a model name for G3 devices.
If getDOMDeviceName(), getEXPDeviceName(), or getPnp() return the empty String, then a model indentifier can be fetch in the form of the model code using the RicohJavaDevice#getDeviceCode()
API. This value is always guaranteed to be present.