Table of Contents

Method Log

Namespace
Alternet.Drawing.Printing
Assembly
Alternet.UI.Common.dll

Log(ILogWriter?)

Writes the current printer settings and related properties to the specified log writer for diagnostic or informational purposes.

public virtual void Log(ILogWriter? log = null)

Parameters

log ILogWriter

The log writer to which the printer settings will be written. If log is null, the default debug log writer is used.

Remarks

This method outputs a summary of key printer settings, including printer name, validity, default status, file printing options, page ranges, duplex mode, collation, and copy count. It is useful for troubleshooting or auditing printer configuration. The output format and destination depend on the implementation of ILogWriter.