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: 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:PrinterMetadata>
child elements
</wprt:PrinterMetadata>
Attributes
There are no attributes.
Text value
None
Child elements
Element | Description |
---|---|
Identifies whether a device is capable of multihued color printing. |
|
Identifies the printer. |
|
Indicates whether a printer allows a job to contain more than one document. |
|
Specifies the nominal number of black and white or grayscale impressions that this printer can generate per minute. |
|
Specifies the nominal number of color impressions that this printer can generate per minute. |
|
Contains any administratively assigned descriptive information about the printer. |
|
Specifies the printer's location. |
|
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
Send comments about this topic to Microsoft
Build date: 7/19/2012