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


In This Topic
    PrintFileName Property
    In This Topic
    Returns or specifies the name of the file to receive print jobs when the PrintToFile property is set to true.
    Syntax
    'Declaration
     
    
    Property PrintFileName As String
    'Usage
     
    
    Dim instance As IPrintOptions
    Dim value As String
     
    instance.PrintFileName = value
     
    value = instance.PrintFileName
    string PrintFileName {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.
    Thrown if the set parameter is null (Nothing in Visual Basic). Use an zero-length string to indicate an empty value.
    Thrown if the set parameter length is too long.
    Remarks
    Use the PrintFileExistsAction to determine what happens when the specified file already exists. The default value is "". This string can be up to 260 characters long.
    See Also