Expand Minimize
This topic has not yet been rated - Rate this topic

printerSpecificSettings Attribute

Office 2003

Specifies settings for a particular printer.

Type

xsd:String

Parent Elements

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

Definition

    <xsd:attribute name="printerSpecificSettings">
  <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 printerSpecificSettings 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"
   printerSpecificSettings="name of file that contains printer-specific settings">
   <xsf:header> 
      <font> 
         <div>&Pqsdf</div> 
      </font> 
   </xsf:header> 
   <xsf:footer> 
      <font> 
         <div>&D</div> 
      </font> 
   </xsf:footer> 
</xsf:printSettings>
  


Parent Objects | printSettings Element


Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.