ActiveJobs element

The required ActiveJobs element contains a list of all currently active jobs at the printer.

ActiveJobs is defined in the namespace at this URI: https://schemas.microsoft.com/windows/2006/08/wdp/print and referenced by the prefix wprt. (This resource may not be available in some languages and countries.)

Usage

<wrpt:ActiveJobs>
  child elements
</wrpt:ActiveJobs>

Attributes

There are no attributes.

Text value

None

Child elements

Element

Job

JobSummary

Parent elements

Element Description

GetActiveJobsResponse

Returns a summary of job-related variables for all currently active jobs.

JobTable

Contains current and historical information about print jobs.

Remarks

The ActiveJobs element holds all jobs that have not yet completed processing. The state of any active job could be printing, pending, or stopped. The maximum number of jobs in the ActiveJobs element depends on the device. ActiveJobs is empty when there are no currently active jobs.

GetActiveJobsRequest GetActiveJobsResponse

A client can ask for the list of active jobs through the GetActiveJobsRequest operation. The WSD Print Service returns the list in GetActiveJobsResponse.

The following syntax block shows that you must also prefix the names of the child elements with the appropriate namespace (in this case wprt), to be certain that you are referencing child elements in the correct namespace.

<wprt:ActiveJobs>
 <wprt:Job> data </wprt:Job>
 <wprt:JobSummary> data </wprt:JobSummary>
</wprt:ActiveJobs>

See also

GetActiveJobsRequest

GetActiveJobsResponse

Job

JobSummary

JobTable

 

 

Send comments about this topic to Microsoft

Build date: 7/19/2012