IPrintJob interface
Contains properties that represent a print job.
This interface also provides a method that allows a print job to be cancelled.
Members
The IPrintJob interface inherits from the IUnknown interface. IPrintJob also has these types of members:
Methods
The IPrintJob interface has these methods.
| Method | Description |
|---|---|
| RequestCancel |
Requests the cancellation of a print job. |
Properties
The IPrintJob interface has these properties.
| Property | Access type | Description |
|---|---|---|
|
Read-only |
Gets the print job identifier (ID). | |
|
Read-only |
Gets the name of the print job. | |
|
Read-only |
Gets the number of pages that have been printed. | |
|
Read-only |
Gets the current status of the print job. | |
|
Read-only |
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). | |
|
Read-only |
Gets the total number of pages that the document contains. |
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 |
|
Header |
|
See also