PrinterMetadata element

The required PrinterMetadata element contains descriptive information that is static on the printer model, or administratively set by a client.

PrinterMetadata is defined in the namespace at this URI: http://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:PrinterMetadata>
  child elements
</wprt:PrinterMetadata>

Attributes

There are no attributes.

Text value

None

Child elements

Element Description

ColorSupported

Identifies whether a device is capable of multihued color printing.

DeviceId

Identifies the printer.

MultipleDocumentJobsSupported

Indicates whether a printer allows a job to contain more than one document.

PagesPerMinute

Specifies the nominal number of black and white or grayscale impressions that this printer can generate per minute.

PagesPerMinuteColor

Specifies the nominal number of color impressions that this printer can generate per minute.

PrinterInfo

Contains any administratively assigned descriptive information about the printer.

PrinterLocation

Specifies the printer's location.

PrinterName

Specifies the administratively assigned user-friendly name of the printer.

Parent elements

There are no parent elements.

Remarks

WSD Print Service metadata is information about the printer that rarely or never changes. A client retrieves this metadata using the GetMetadata action at the WSD Printer Service's endpoint within the device. See the for more information about GetMetadata.

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 you are referencing child elements in the correct namespace.

<wprt:PrinterMetadata>
 <wprt:ColorSupported> data </wprt:ColorSupported>
 <wprt:DeviceId> data </wprt:DeviceId>
  ...
</wprt:PrinterMetadata>

See also

ColorSupported

DeviceId

MultipleDocumentJobsSupported

PagesPerMinute

PagesPerMinuteColor

PrinterInfo

PrinterLocation

PrinterName

 

 

Send comments about this topic to Microsoft

Build date: 7/19/2012