IPrintJob interface

Contains properties that represent a print job.

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

Methods

The IPrintJob interface has these methods.

Method Description
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

   
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