DocumentProcessing element
The optional DocumentProcessing element contains all of the requested processing attributes that are applicable at the document level.
DocumentProcessing 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:DocumentProcessing>
child elements
</wprt:DocumentProcessing>
Attributes
There are no attributes.
Text value
None
Child elements
Element | Description |
---|---|
Identifies the medium color that the Print Service uses for all impressions of the job. |
|
Identifies the name and dimensions of the medium that the Print Service should use for all sheets of a job. |
|
Identifies the medium type that the Print Service uses for all impressions of the job. |
|
Contains information on how to arrange the logical pages on the physical sheet. |
|
Indicates the desired orientation for printed pages of the job. |
|
Specifies the print quality requested by a client for a job. |
|
Specifies the print resolution for the job. |
|
Specifies how pages are to be imposed upon the sides of a selected medium for the current job. |
|
Xxx |
Any IHV-defined elements. |
Parent elements
Element | Description |
---|---|
Defines all of the description and processing parameters of the currently identified job. |
Remarks
A client can optionally provide DocumentProcessing information within the PrintTicket element during a CreatePrintJobRequest operation, and again when submitting the document data in a SendDocumentRequest or AddDocumentRequest operation. The WSD Print Service must validate all data provided by a client to ensure that each child element is set to a valid value specified in the PrinterCapabilities element.
The WSD Print Service should use its default DocumentProcessing values if the client does not provide any.
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:DocumentProcessing>
<wprt:MediaSizeName> data </wprt:MediaSizeName>
<wprt:MediaType> data </wprt:MediaType>
...
</wprt:DocumentProcessing>
See also
MediaColor Element for parent DocumentProcessing
MediaType Element for parent DocumentProcessing
Send comments about this topic to Microsoft
Build date: 7/19/2012