Share via


DocumentData element

The required DocumentData element provides the binary data representing the document to be printed.

DocumentData 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:DocumentData xmlmime:content-type="string"
  
      xmlmime:content-type = "xs:string">
  child elements
</wprt:DocumentData xmlmime:content-type="string">

Attributes

Attribute Type Required Description

xmlmime:content-type

xs:string

Yes

Required. The string portion of this attribute must match the document data format specified for the current document.

The xmlmime namespace is defined at this URI: https://www.w3.org/2004/11/xmlmime.

Text value

None

Child elements

Element Description

xop:Include

Include is defined in the namespace at this URI: https://www.w3.org/2004/08/xop/include and referenced by the prefix xop.

Parent elements

Element Description

SendDocumentRequest

Submits print data associated with a job to the printer.

Remarks

DocumentData includes binary data that represents the document to be printed. The actual document data is appended to the SOAP Envelope/Body as a binary attachment.

See also

AddDocumentRequest

Format

SendDocumentRequest

 

 

Send comments about this topic to Microsoft

Build date: 7/19/2012