ElementData Element for parent PrinterElements element

The required ElementData element contains the element data that the GetPrinterElementsResponse operation returns to the client.

ElementData 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:ElementData Name="QName" Valid=boolean
  Name = "xs:string"
  Valid = "xs:string">
  child elements
</wprt:ElementData Name="QName" Valid=boolean>

Attributes

Attribute Type Required Description

Name

xs:string

Yes

Required. Must be one of the following QNames:

xmlns:PrinterConfiguration Returns all the storage entries for the printer. xmlns:PrinterStatus Return the entire status section, including all ActiveCondition elements and the ConditionHistory element. xmlns:DefaultPrintTicket Return the DefaultPrintTicket element, which contains current default values for job creation and processing. xmlns:PrinterCapabilities Return the PrinterCapabilities element, which contains additional current allowed values for job creation and processing. ihvns:VendorSection Return a vendor-defined extension to the printer schema of the WSD Print Service.

Valid

xs:string

Yes

Required. Indicates whether the client's schema query was for a valid QName. Must be one of 1, true, 0, or false.

Text value

None

Child elements

Element Description

DefaultPrintTicket

Contains all of the printer's current default values for job and document creation.

PrinterCapabilities

Defines all of the allowed values for job-related and document-related elements that can be specified to affect print processing.

PrinterConfiguration

A collection of elements that describes the printer's configurable capabilities.

PrinterStatus

Contains the current status of printer-related information that is controlled by automata.

Xxx

Any IHV-defined elements.

Parent elements

Element Description

PrinterElements

Contains all the printer-related elements requested by a client through a call to GetPrinterElementsRequest.

Remarks

A client calls GetPrinterElementsRequest to determine the values of printer-related elements. The Print Service returns this information in the ElementData element through the GetPrinterElementsResponse operation.

The QName value must be a top-level element within the WSD Print Service schema for which a client requested information.

The value of must be the fully qualified namespace or the namespace prefix defined for the current element. The value of is the fully qualified namespace or namespace prefix for any vendor-defined extensions. can be any vendor-defined element related to the printer or job.

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:ElementData Name="QName" Valid=boolean>
 <wprt:PrinterConfiguration> data </wprt:PrinterConfiguration>
 <wprt:PrinterStatus> data </wprt:PrinterStatus>
  ...
</wprt:ElementData>

See also

DefaultPrintTicket

GetPrinterElementsResponse

PrinterCapabilities

PrinterConfiguration

PrinterElements

PrinterStatus

 

 

Send comments about this topic to Microsoft

Build date: 7/19/2012