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


In This Topic
    PrintFileExistsAction Property (IPrintOptions)
    In This Topic
    Returns or specifies what the terminal does when you send a print job to an existing file.
    Syntax
    'Declaration
     
    
    Property PrintFileExistsAction As PrintFileExistsActionOption
    'Usage
     
    
    Dim instance As IPrintOptions
    Dim value As PrintFileExistsActionOption
     
    instance.PrintFileExistsAction = value
     
    value = instance.PrintFileExistsAction
    PrintFileExistsActionOption PrintFileExistsAction {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
    This property is relevant only when the PrintToFile property is set to true. Use the PrintFileName property to specify the print file name.
    • Adds the information to the end of the existing file.
    • Prompts the user to select an option. (The default.)
    • Creates a new file by adding an incremented number to the existing filename.
    • Causes the print job to fail and return an error.
    • Replaces the existing file with the new information.
    See Also