For WOSA printers, the J/XFS Device Service configuration must contain the following configuration key that identifies the WOSA service provider:
Key | Description |
---|---|
wosaSPM(String) | Specifies the logical name of the WOSA service provider to be used (TESTSPI in the example). |
FormResolution(String) | Specifies the printer resolution to be used when printing forms. The
valid values are:
For the meaning of the different values, refer to the WOSA documentation. |
ReadImageCap(int) | Describes which image formatting capabilities are available given the printer and its available WOSA support. |
9068DS(String)=NOIBMDS
Other configuration keys are:
Key | Description |
---|---|
wosaCancelIsOk(boolean) | Tells the device service whether the cancel command of the underlying WOSA support works. The default value is true. |
josaTraceLevel(int) | Activates the trace of the WOSA wrapper for debugging purposes. Valid
values are:
The default value is 0. |
ConsoleTrace(boolean) | Activates a console trace of the device service intended only for debugging purposes. The default value is false. |
Whenever a required key is missing or a value is incorrect, the initialization fails and an appropriate J/XFS log output is generated.
The following is an example of Device Service configuration extracted from the Read.Repository file:
9.71.1.241|PTR|serviceName(String)=com.ibm.dse.jxfsds.wosaptr.WosaPTRService 9.71.1.241|PTR|controlName(String)=com.jxfs.control.ptr.JxfsPassbookPrinter 9.71.1.241|PTR|deviceName(String)=PbPrinter 9.71.1.241|PTR|remoteAccess(boolean)=false 9.71.1.241|PTR|description(String)=Passbook printer 9.71.1.241|PTR|clientCommName(String)=com.jxfs.forum.communication.rmi. PassbookPrinterClientCommRMI 9.71.1.241|PTR|serverCommName(String)=com.jxfs.forum.communication.rmi. PassbookPrinterCommRMI 9.71.1.241|PTR|communicationInfo(String)=2020,9.71.1.241 9.71.1.241|PTR|wosaSPM(String)=TESTSPI 9.71.1.241|PTR|FormResolution(String)=HIGH 9.71.1.241|PTR|ReadImageCap(int)=1 9.71.1.241|PTR|wosaCancelIsOk(boolean)=false 9.71.1.241|PTR|josaTraceLevel(int)=3 9.71.1.241|PTR|ConsoleTrace(boolean)=true