Share via


StorageEntry element

The required StorageEntry element describes the details of an available storage mechanism at the device.

StorageEntry 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:StorageEntry
  Name = "xs:string"
  Removed = "xs:string">
  child elements
</wprt:StorageEntry>

Attributes

Attribute Type Required Description

Name

xs:string

Yes

Required. Must be a UTF-8 character string of the name associated with the current Storage entry.

Removed

xs:string

No

Optional. Indicates whether the current storage mechanism has been removed from the printer. Allowed values are 0, 1, false, or true. The default value is false.

Text value

None

Child elements

Element Description

Free

Specifies the amount of free memory in the storage mechanism identified by the StorageEntry element.

Size

Specifies the memory size of the current storage mechanism specified by the StorageEntry element.

Type

Indicates the type of consumable specified in ConsumableEntry, or the type of storage for the storage mechanism specified in StorageEntry.

Xxx

Any IHV-defined elements

Parent elements

Element Description

Storage

A collection of information that describes the storage capabilities available on the device.

Remarks

The Name attribute allows the client to differentiate and display the printer's various storage elements. This name should be unique within the printer.

The Removed attribute is valid only in a PrinterElementsChangeEvent event. It is used to report that the identified storage entry has been removed. The absence of this attribute indicates that the storage entry is still valid.

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 your references apply to child elements in the correct namespace.

<wprt:StorageEntry Name="name" Removed="boolean value">
 <wprt:Type> data </wprt:Type>
 <wprt:Size> data </wprt:Size>
  ...
</wprt:StorageEntry>

See also

Free

PrinterElementsChangeEvent

Size

Storage

Type

 

 

Send comments about this topic to Microsoft

Build date: 7/19/2012