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


In This Topic
    PrinterLogging Property
    In This Topic

    Gets or sets whether data received into display memory, either from datacomm or from the keyboard, is sent to the printer (or to a file) when a linefeed is received.

    Syntax
    'Declaration
     
    
    Property PrinterLogging As Boolean
    'Usage
     
    
    Dim instance As IPrinting
    Dim value As Boolean
     
    instance.PrinterLogging = value
     
    value = instance.PrinterLogging
    bool PrinterLogging {get; set;}

    Property Value

    The default value is False.

    Remarks

    The value of this property is not saved to a settings file.

    In Reflection for HP, turning on Record Mode automatically sets PrinterLogging to False.

    To log to a file instead of the printer, do the following:

    • Make sure PrinterLogging is set to True.
    • Set the PrintToFile property to a valid file name.

    Reflection doesn't log a line of data until it encounters a linefeed.

    See Also