IPrintJob interface (printerextension.h)

Contains properties that represent a print job.

This interface also provides a method that allows a print job to be cancelled.

Inheritance

The IPrintJob interface inherits from the IUnknown interface.

Methods

The IPrintJob interface has these methods.

 
IPrintJob::get_Id

Gets the print job identifier (ID).
IPrintJob::get_Name

Gets the name of the print job.
IPrintJob::get_PrintedPages

Gets the number of pages that have been printed.
IPrintJob::get_Status

Gets the current status of the print job.
IPrintJob::get_SubmissionTime

Gets the submission time, in the "DATE" format, provided in the user's local time (not in the UTC format that is provided by the spooler).
IPrintJob::get_TotalPages

Gets the total number of pages that the document contains.
IPrintJob::RequestCancel

Requests the cancellation of a print job.

Remarks

The IPrintJob interface provides a wrapper around select properties of the spooler's JOB_INFO_1 structure.

IPrintJob 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

JOB_INFO_1

Job Management