HPOS 4.0 technical note 3

HP Web Services for Output Server 37
Using HP Web Services for Output Server
SAP Print Path devices management functions
The following is an example of LISTSAPDEVICE XML contract request:
<wsg-request>
<operation-attriutes>
<operation-type>LISTSAPDEVICE</operation-type>
<user-info>
<![CDATA[
<user><username>hposadm</username>
<password>hpom</password><sysNum>00</sysNum>
<IP>16.74.60.119></IP><clentId>001</clientId><locale>EN</locale></user>
]]>
</user-info>
<device-info>
<![CDATA[
<devices>
<device><device-info><name>SAPDEVICE1</name>
</device-info><device></devices>
]]>
</device-info>
</operation-attributes>
</wsg-request>
The following is an example of LISTSAPDEVICE XML contract response:
<wsg-response>
<status-code>0</status-code>
<status-message>success</status-message>
<operation-attributes/>
<device-info>
<status-code>0</status-code>
<status-message>success</status-message>
<CHGNAME1>hposadm</CHGNAME1>
<CHGNAME2/>
<CHGNAME2/>
.....
.....
<PAXSHIFT>0</PAXSHIFT>
<PAXSHUNIT>MM</PAXSHUNIT>
<PAYSHIFT>0</PAYSHIFT>
<PAYSHUNIT>MM</PAYSHUNIT>
<PRINTMODE/>
</device-info>
</wsg-response>
List SAP devices
You can list the details of all devices in SAP. It also supports wild card search. You must prefix/suffix * to the device
name for wild card search. The columns such as device name, device type, device short name, host printer name, and
LOMS are retrieved. The following table lists the LISTSAPDEVICES attributes.
Table 1-28. LISTSAPDEVICES attributes
Type Name Value Requirement
Operation operation-type LISTSAPDEVICES Mandatory