HolePunch element

The optional HolePunch element describes the hole-punching capabilities available on the print device.

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

Attributes

There are no attributes.

Text value

None

Child elements

Element Description

Edge

Indicates the edge along which the hole punch attachment should punch holes in output pages.

Pattern

Indicates the pattern that the hole punch attachment should punch in output pages.

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 hole punching in some form. You can extend the list of child elements of HolePunch if the device provides additional hole-punching 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:HolePunch>
  <wprt:Edge> data </wprt:Edge>
  <wprt:Pattern> data </wprt:Pattern>
</wprt:HolePunch>

See also

Edge

JobFinishings

Pattern

 

 

Send comments about this topic to Microsoft

Build date: 7/19/2012