AllowedValue element
The required AllowedValue element specifies one allowed value for a job-related or document-related print processing element.
AllowedValue 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:AllowedValue>
text
</wprt:AllowedValue>
Attributes
There are no attributes.
Text value
Required. Must be a string identifying one value that the printer supports for the current parent element.
Child elements
There are no child elements.
Parent elements
Element | Description |
---|---|
Describes all attributes associated with the basic creation of the current document. leaf nodes: Compression, Format |
|
Contains all the requested processing attributes that are applicable at the document level. leaf nodes: MediaSizeName, MediaType Element for parent DocumentProcessing, MediaColor Element for parent DocumentProcessing, PagesPerSheet, Direction, Orientation, Resolution, PrintQuality, Sides |
|
Contains all the requested processing attributes that are applicable at the job level. |
Remarks
The WSD Print Service stores a list of AllowedValue elements for every job-related and document-related element that can have multiple, discrete values.
See PrinterCapabilities for sample code that shows how AllowedValue is used.
See also
MediaColor Element for parent DocumentProcessing
MediaType Element for parent DocumentProcessing
Send comments about this topic to Microsoft
Build date: 7/19/2012