InfoConnect VBA Guide
Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Printing Object / PrinterAutoRowSize Property
Example
In This Topic
    PrinterAutoRowSize Property
    In This Topic
    Gets or sets whether InfoConnect automatically sets the number of rows to be printed on each page.
    Syntax
    expression.PrinterAutoRowSize As Boolean
    where expression is a variable that represents a Printing Object

    Property Value

    When True, InfoConnect automatically calculates the number of rows to be printed based on the current settings for paper size, page orientation, margins, number of columns, and font.

    When False, the current value of PrinterRows is not affected by changes to other page settings.

    Remarks
    The value of PrinterRows is automatically adjusted when any of these settings is changed, so that printed output will fill the page.
    Example
    The following command turns automatic row sizing on:
    Sub  TurnOnAutoRowSize
        ThisTerminal.Screen.ScreenPrinting.PrinterAutoRowSize = True
    End Sub
    See Also