N-central Help

Get Print Queue Statistics

Returns statistics for the local print queue.

Privileges

Normal

Input Parameters

None

Output Parameters

Name Type Description

PrintQueueData

Collection

Returns the results as a collection of print queue data items, each item containing:

  • AddNetworkPrinterCalls
  • BytesPrintedPerSec
  • Caption
  • Description
  • EnumerateNetworkPrinterCalls
  • Frequency_PerfTime
  • Frequency_Sys100NS
  • Frequency_Object
  • JobErrors
  • Jobs
  • JobsSpooling
  • MaxJobsSpooling
  • MaxRefernences
  • Name
  • NotReadyErrors
  • OutOfPaperErrors
  • References
  • Timestamp_Object
  • Timestamp_PerfTime
  • Timestamp_Sys100NS
  • TotalJobsPrinted
  • TotalPagesPrinted

Result

Number

Returns a success value of zero. Any value other than zero indicates failure.

Example Input Parameters

No input parameters required.