InfoConnect API Guide
Attachmate.Reflection.Emulation.IbmHosts Namespace / IPrintOptions Interface / PrintToFile Property


In This Topic
    PrintToFile Property (IPrintOptions)
    In This Topic
    Returns or specifies the destination of the terminal print jobs.
    Syntax
    'Declaration
     
    
    Property PrintToFile As Boolean
    'Usage
     
    
    Dim instance As IPrintOptions
    Dim value As Boolean
     
    instance.PrintToFile = value
     
    value = instance.PrintToFile
    bool PrintToFile {get; set;}
    Exceptions
    ExceptionDescription
    This exception is thrown when you modify a property that was secured via the Permissions Manager, or that can only be modified by an Administrator.
    Remarks
    When this property is true, the terminal sends print jobs to a file. Use PrintFileName to specify the file name. 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