Bewerken

Delen via


IPrinterQueueView interface (printerextension.h)

Provides a way to change the range of print jobs being monitored.

Inheritance

The IPrinterQueueView interface inherits from the IDispatch interface.

Methods

The IPrinterQueueView interface has these methods.

 
IPrinterQueueView::SetViewRange

Sets the range of print jobs being monitored.

Remarks

An event is raised whenever the status of the print queue changes. So when a client uses SetViewRange to specify the range of print jobs (the view) to be monitored, the IPrinterQueueViewEvent::OnChanged event method fires, and the live queue is returned in response.

Note that job enumeration starts when the first event handler is added and stops when the last event handler is removed.

IPrinterQueueView 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

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

See also

IPrinterQueueViewEvent::OnChanged

Job Management