HPOSSOD 1.0 Technical Note
HP Web Services for Output Server 16
Using HP Web Services for Output Server
Multiple-document print failure
The following is an example of a querySubJobs response on a destination:
<wsg-response>
<status-code>0</status-code>
<status-message>success</status-message>
<operation-attributes>
<status-code>has-more-chunks</status-code>
<status-message>false</status-message>
</operation-attributes>
<job-info>
<subjob-info>
<current-job-state>retained</current-job-state>
<destination>labld_ps</destination>
<job-identifier>jqm:2530598</job-identifier>
<job-name>/etc/hosts</job-name>
<job-owner>dazel@march.d</job-owner>
<queue-assigned>labq</queue-assigned>
</subjob-info>
</job-info>
<job-info>
<subjob-info>
<current-job-state>retained</current-job-state>
<destination>labld_ps</destination>
<job-identifier>jqm:487543</job-identifier>
<job-name>/etc/hosts</job-name>
<job-owner>dazel@march.d</job-owner>
<queue-assigned>labq</queue-assigned>
</subjob-info>
</job-info>
<job-info>
<subjob-info>
<current-job-state>retained</current-job-state>
<destination>labld_ps</destination>
<job-identifier>jqm:542367</job-identifier>
<job-name>/etc/hosts</job-name>
<job-owner>dazel@march.d</job-owner>
<queue-assigned>labq</queue-assigned>
</subjob-info>
</job-info>
</wsg-response>
The has-more-chunks tag in the response indicates if there are more jobs waiting on the server to be fetched. The
client can make subsequent requests to fetch further responses, unless the has-more-chunks tag value has been
changed to false.
Canceling jobs
The cancelJobs API is used to cancel HP Output Server jobs. The structure of the API is:
Web Service Name: cancelJobs
Web Service Parameters
Parameter 1 - XML cancelJobs contract
For .NET clients,
Input param- cancelJobs object