DocumentDescription element
The required DocumentDescription element describes all attributes associated with the basic creation of the current document.
DocumentDescription 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:DocumentDescription>
child elements
</wprt:DocumentDescription>
Attributes
There are no attributes.
Text value
None
Child elements
Element | Description |
---|---|
Specifies the compression algorithm used on the contents of a document. |
|
Uniquely identifies a document within the current job. |
|
Specifies the user-friendly name of the job supplied by the client. |
|
Contains the URL to document data for a document to be printed by reference. |
|
Identifies the format of the current document as a MIME media type. |
|
Xxx |
Any IHV-defined elements. |
Parent elements
Element | Description |
---|---|
Contains all information about the current document. |
Remarks
A client includes a DocumentDescription element in a SendDocumentRequest or AddDocumentRequest operation. The WSD Print Service must validate the Compression and Format child elements to ensure that they have valid values, as specified in the PrinterCapabilities element.
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:DocumentDescription>
<wprt:DocumentId> data </wprt:DocumentId>
<wprt:Compression> data </wprt:Compression>
...
</wprt:DocumentDescription>
See also
Send comments about this topic to Microsoft
Build date: 7/19/2012