PrinterInformation.AveragePagesPerMonth Property

Returns the average number of pages printed on this printer per month

[Visual Basic]
Public ReadOnly Property AveragePagesPerMonth As Int32
[C#]
public Int32 AveragePagesPerMonth {get;}
[C++]
public: __property Int32 get_AveragePagesPerMonth();
[JScript]
public function get AveragePagesPerMonth() : Int32;

Property Value

Returns the average number of pages printed on this printer per month

Remarks

Example

[Visual Basic] The following example prints the AveragePagesPerMonth of a job to a trace

[Visual Basic] 
Public Sub TraceAveragePagesPerMonth(ByVal piIn As PrinterInformation)

        With piIn
            Trace.WriteLine("** AveragePagesPerMonth: " & .AveragePagesPerMonth.ToString)
        End With

End Sub

Requirements

Namespace: PrinterQueueWatch

Platforms:  Windows NT 4.0, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family

See Also

PrinterInformation overview , All PrinterInformation members


© 2003 Merrion Computing Ltd. All rights reserved.