CreatePrintJobResponse element

The required CreatePrintJobResponse element contains the WSD Print Service's response to a client's print request.

CreatePrintJobResponse is defined in the namespace at this URI: and referenced by the prefix wprt. (This resource may not be available in some languages and countries.)


  child elements


There are no attributes.

Text value


Child elements

Element Description


Uniquely identifies a job on a printer.

Parent elements

There are no parent elements.


The WSD Print Service must support the CreatePrintJobResponse operation.

The WSD Print Service sends a CreatePrintJobResponse operation to the client in response to the client's CreatePrintJobRequest.

If the client has made a valid print request, the Print Service must return a unique JobId element with CreatePrintJobResponse to identify the job. JobId must be in the range of 1 to 2147483647 (231-1), and can be generated in an implementation-defined manner. The WSD Print Service should not reuse values recently assigned because a client could confuse such jobs with older jobs.

If the client has made an invalid print request, the Print Service must return the appropriate error code instead of CreatePrintJobResponse. See CreatePrintJobRequest for error checking details and codes.

In the following example code, note that you must also prefix the names of the child and other elements with the appropriate namespace to be certain that your name references apply to elements in the correct namespace.


The following code sample shows the print service's response to a client's CreatePrintJobRequest.

    soap:encodingStyle='' >

See also





Send comments about this topic to Microsoft

Build date: 7/19/2012