IPrintJobCollection interface

This interfaces provides an enumeration of the jobs in the print queue.

The enumerated list of jobs represents a snapshot of the current job status.

Methods

The IPrintJobCollection interface has these methods.

Method Description
IPrintJobCollection::get__NewEnum Gets a pointer to the enumerants of IPrintJobCollection objects.
IPrintJobCollection::get_Count Gets the number of jobs in the print queue.
IPrintJobCollection::GetAt Gets a pointer to an IPrintJob object.

Remarks

The order of print jobs in the enumerated list is the same as the order provided by EnumJobs, which is the actual print queue order.

IPrintJobCollection also helps to make it possible to perform job management from a UWP device app or from a printer extension. For more information, see Job Management.

Requirements

   
Minimum supported client Windows 8.1
Minimum supported server Windows Server 2012 R2
Target Platform Windows
Header printerextension.h

See Also

EnumJobs

Job Management