JobSummary element

The optional JobSummary element contains a summary for one currently active job in the printer.

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

Usage

<wprt:JobSummary>
  child elements
</wprt:JobSummary>

Attributes

There are no attributes.

Text value

None

Child elements

Element Description

JobId

Uniquely identifies a job on a printer.

JobName

Specifies the user-friendly name of the job submitted by a client.

JobOriginatingUserName

Specifies the name of the user who submitted the print job.

JobState

Specifies the current state or the completion state of the job.

JobStateReasons

Contains all additional information about why the job is in its current state.

KOctetsProcessed

Specifies the total amount of document content that has been processed by the printer.

MediaSheetsCompleted

Specifies the number of media sheets the printer has completed and stacked for the job so far.

NumberOfDocuments

Specifies the number of documents in the current job.

Parent elements

Element Description

ActiveJobs

Contains a list of all currently active jobs at the printer.

Remarks

The Print Service embeds one JobSummary element within the ActiveJobs element for every currently active job in the printer. ActiveJobs is empty when there are no currently active jobs. The Print Service returns this list from 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 your name references apply to child elements in the correct namespace.

<wprt:JobSummary>
 <wprt:JobId> data </wprt:JobId>
 <wprt:JobState> data </wprt:JobState>
 <wprt:JobStateReasons> data </wprt:JobStateReasons>
  ...
</wprt:JobSummary>

See also

ActiveJobs

GetActiveJobsResponse

JobId

JobName

JobOriginatingUserName

JobState

JobStateReasons

KOctetsProcessed

MediaSheetsCompleted

NumberOfDocuments

 

 

Send comments about this topic to Microsoft

Build date: 7/19/2012