Reflection .NET API
Attachmate.Reflection.Emulation.OpenSystems Assembly / Attachmate.Reflection.Emulation.OpenSystems Namespace / IPrinting Interface / PrintToFile Property


In This Topic
    PrintToFile Property (IPrinting)
    In This Topic

    Gets or sets whether printing is directed to the printer or a file.

    Syntax
    'Declaration
     
    
    Property PrintToFile As String
    'Usage
     
    
    Dim instance As IPrinting
    Dim value As String
     
    instance.PrintToFile = value
     
    value = instance.PrintToFile
    string PrintToFile {get; set;}

    Property Value

    The default is "".

    If this property is set to an empty string (""), printer output is directed to the printer.

    If this property is set to anything other than an empty string, its value determines the name of the disk file to which Reflection printer output is sent. This string can contain drive and path information. If the specified file already exists, Reflection appends printed data to the end of the file.

    See Also