Staple element

The optional Staple element describes how the device should staple the current job.

Staple is defined in the namespace at this URI: https://schemas.microsoft.com/windows/2006/08/wdp/print and referenced by the prefix wprt. (This resource may not be available in some languages and countries.)

Usage

<wprt:Staple>
  child elements
</wprt:Staple>

Attributes

There are no attributes.

Text value

None

Child elements

Element Description

Angle

Specifies the angle at which the printer should place the staple on a printed page.

Location

Indicates the location on the printed page at which the device should place staples.

Xxx

any IHV-defined elements

Parent elements

Element Description

JobFinishings

A collection of elements that describe all the finishing options requested for the current job.

Remarks

If this element is present, the device supports stapling in some form. IHVs can extend the list of child elements of Staple if the device provides additional stapling options.

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:Staple>
 <wprt:Location> data </wprt:Location>
 <wprt:Angle> data </wprt:Angle>
  ...
</wprt:Staple>

See also

Angle

JobFinishings

Location

 

 

Send comments about this topic to Microsoft

Build date: 7/19/2012