pageRangeEnd Attribute

Microsoft Office InfoPath

pageRangeEnd Attribute

Specifies the last page to be printed.

Type

xsd:Integer

Parent Elements

Element Description
printSettings Specifies the printer settings used when printing the view.

Definition

    <xsd:attribute name="pageRangeEnd" >
  <xsd:simpleType>
    <xsd:restriction base="xsd:integer">
      <xsd:minInclusive value="1" />
      <xsd:maxInclusive value="32000" />
    </xsd:restriction>
  </xsd:simpleType>
</xsd:attribute>
  

Remarks

Note  This item is not supported when the Disable Service Pack features option on the Advanced tab of the Options dialog box in InfoPath is selected or when Microsoft Office 2003 Editions Service Pack 1 or later is not installed. Any form defined by a form definition file (.xsf) that includes this item cannot be opened in InfoPath when service pack features are disabled or unavailable.

Example

The following is an example of the pageRangeEnd attribute as it is used in the printSettings element:

    <xsf:printSettings 
   orientation="landscape" 
   header="&Pqsdf" 
   footer="&D" 
   printerName="\\printserver\printer" 
   paperSource="Auto Select" 
   paperSize="Envelope DL" 
   topMargin="0.8"  
   leftMargin="0.8" 
   bottomMargin="0.8" 
   rightMargin="0.8" 
   marginUnitsType="in" 
   copies="2" 
   collate="no" 
   pageRangeStart="1" 
   pageRangeEnd="1" > 
   <xsf:header> 
      <font> 
         <div>&Pqsdf</div> 
      </font> 
   </xsf:header> 
   <xsf:footer> 
      <font> 
         <div>&D</div> 
      </font> 
   </xsf:footer> 
</xsf:printSettings>