Share via


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

DocumentDescription

Describes all attributes associated with the basic creation of the current document.

leaf nodes: Compression, Format

DocumentProcessing

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

JobProcessing

Contains all the requested processing attributes that are applicable at the job level.

leaf nodes: Location, Angle, Edge, Pattern

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

Angle

Direction

DocumentDescription

DocumentProcessing

Edge

JobProcessing

MediaColor Element for parent DocumentProcessing

MediaSizeName

MediaType Element for parent DocumentProcessing

Orientation

PagesPerSheet

Pattern

PrintQuality

PrinterCapabilities

Resolution

Sides

 

 

Send comments about this topic to Microsoft

Build date: 7/19/2012