Share via


Consumables element

The optional Consumables element is a collection of information that describes the consumables on the printer.

Consumables 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:Consumables>
  child elements
</wprt:Consumables>

Attributes

There are no attributes.

Text value

None

Child elements

Element Description

ConsumableEntry

Describes the details of an available consumable on the printer.

Parent elements

Element Description

PrinterConfiguration

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

Remarks

A printer's consumables include not only the marker supplies but also any other type of supply that gets consumed during the printing process, such as wax and staples.

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:Consumables>
 <wprt:ConsumableEntry> data </wprt:ConsumableEntry>
</wprt:Consumables>

See also

ConsumableEntry

PrinterConfiguration

 

 

Send comments about this topic to Microsoft

Build date: 7/19/2012