property ExPrint.Settings(Field as FieldsEnum) as Variant
Sets or gets a value that indicates the value for specified field.

TypeDescription
Field as FieldsEnum A Field being changed
Variant A long expression or a string expression that indicates the field's value. 
Use the Settings property to initialize fields like Paper Size, Orientation, Margins, Number of Copies, Print Quality, and so on before previewing or printing the object. If you intent to change the printer's name, you must call the Setting(exPrinterName) property before changing any other property. Use the PageOrientation property or Settings(exPageOrientation) to specify the page's orientation. Use the Settings(exAllFields) property to save and restore all printer settings.

Use the Preview method to preview an object. The DoPrint method prints an object. 

The following sample changes the PageSize field to A4 format, before previewing an exGrid control:

Private Sub Command1_Click()
    With Print1
        Set .PrintExt = Grid1.Object
        .Settings(exPaperSize) = 9
        .Preview
    End With
End Sub

 The exDisplayInch value must be changed before any other Settings like in the following sample. The sample specifies an A4 Landscape format, and printer dialog displays the millimeters instead inches:

With Print1
    Set .PrintExt = Grid1.Object
    .PageOrientation = exLandscape
    .Settings(exDisplayInch) = 1
    .Settings(exPaperSize) = 9
    .Preview
End With