InfoConnect VBA Guide
Attachmate.Reflection.Objects.Emulation.IbmHosts Library / PrintOptions Object / PrintToFile Property
In This Topic
    PrintToFile Property (PrintOptions)
    In This Topic
    Gets or sets a value indicating whether the terminal sends print jobs to a file.
    Syntax
    expression.PrintToFile As Boolean
    where expression is a variable that represents a PrintOptions Object
    Remarks
    When this property is true, the terminal sends print jobs to a file. Use PrintFileName to specify the filename. Use PrintFileExistsAction to determine what happens if the specified file already exists.

    When this property is false, the terminal sends print jobs to the printer.

    This property affects screen printing, 3270 printer sessions, and 5250 printer sessions.
    See Also