JobId element
The required JobId element uniquely identifies a job on a printer.
JobId 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
<wprt:JobId>
text
</wprt:JobId>
Attributes
There are no attributes.
Text value
Required. Must be an integer value of 1 through 2147483647 (231-1).
Child elements
There are no child elements.
Parent elements
Element | Description |
---|---|
submits the URL reference associated with a document to the printer for printing. |
|
Allows a client to cancel a print job. |
|
Contains the WSD Print Service's response to a client's print request. |
|
requests the values of job-related variables for the job identified by the value of the JobId element. |
|
Describes the end state of the current job. |
|
Contains all information about the status of the current job. |
|
Submits print data associated with a job to the printer. |
Remarks
The WSD Print Service returns a JobId
element to a client through CreatePrintJobResponse. The client then uses this identifier when sending the actual document to the printer in SendDocumentRequest or AddDocumentRequest.
The JobId
value does not need to be globally unique. The WSD Print Service should not reuse a recently assigned value so that a client does not confuse a current job with an older job.
The default value is implementation-specific. IHVs cannot extend the allowed values for this element.
See also
Send comments about this topic to Microsoft
Build date: 7/19/2012