Contains properties that represent a print job.
This interface also provides a method that allows a print job to be cancelled.
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.|
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.
|Minimum supported client||Windows 8.1|
|Minimum supported server||Windows Server 2012 R2|