Share via


InputBinEntry element

The required InputBinEntry element describes one of the printer's available input bins.

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

Attributes

Attribute Type Required Description

Name

xs:string

Yes

Required. Must be one of the following values:

  • TrayXxx, where Xxx is any number without leadingzeros
  • Top
  • Middle
  • Bottom
  • LargeCapacity
  • Manual
  • Envelope
  • EnvelopeManual
  • MultiPurpose
  • Bypass

Removed

xs:string

No

Optional. Indicates that the current input bin has been removed from the printer. If specified, must be one of: 0, 1, false, or true. The default is false.

Text value

None

Child elements

Element Description

Capacity

Specifies the total capacity of the specified input or output bin.

FeedDirection

Specifies the direction in which the media should be fed into the printer's input bin. The input bin is identified by the current InputBinEntry element.

Level

Indicates the current level of consumable or media identified in the current ConsumableEntry, InputBinEntry, or OutputBinEntry element.

MediaColor

Provides the color of the media installed in the input bin that is specified in the InputBinEntry element.

MediaSize

Provides the size of the media installed in the input bin that is identified by the InputBinEntry element.

MediaType

Provides the type of media installed in the input bin that is specified in the current InputBinEntry element.

Xxx

Any IHV-defined.

Parent elements

Element Description

InputBins

A collection of elements that describe the capabilities of all input bins available on the device.

Remarks

The specified Name attribute should be unique and descriptive within the printer because the client will use this name to differentiate the various input bins. The WSD Print Service can both extend and subset the allowed values for Name.

The Removed attribute is valid only in a PrinterElementsChangeEvent event. It is used to report that the identified input bin has been removed. The absence of this attribute indicates that the input bin 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 you are referencing child elements in the correct namespace.

<wprt:InputBinEntry Name="name" Removed="Boolean value">
 <wprt:FeedDirection> data </wprt:FeedDirection>
 <wprt:MediaSize> data </wprt:MediaSize>
  ...
</wprt:InputBinEntry>

See also

Capacity

FeedDirection

InputBins

Level

MediaColor Element for parent InputBinEntry

MediaSize

MediaType Element for parent InputBinEntry

PrinterElementsChangeEvent

 

 

Send comments about this topic to Microsoft

Build date: 7/19/2012