# paperSource Attribute

Specifies the source of the paper.

## Type

`xsd:String`

## Parent Elements

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

## Definition

    <xsd:attribute name="paperSource" >
      <xsd:simpleType>
        <xsd:restriction base="xsd:string">
          <xsd:maxLength value="255" />
        </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 paperSource 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>

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp