|
|
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;
Returns the average number of pages printed on this printer per month
[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
Namespace: PrinterQueueWatch
Platforms: Windows NT 4.0, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family
PrinterInformation overview , All PrinterInformation members
© 2003 Merrion Computing Ltd. All rights reserved.