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.

MethodDescription
RequestCancel

Requests the cancellation of a print job.

 

Properties

The IPrintJob interface has these properties.

PropertyAccess typeDescription

Id

Read-only

Gets the print job identifier (ID).

Name

Read-only

Gets the name of the print job.

PrintedPages

Read-only

Gets the number of pages that have been printed.

Status

Read-only

Gets the current status of the print job.

SubmissionTime

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).

TotalPages

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 Windows Store 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

Printerextension.h

See also

Job Management
JOB_INFO_1

 

 

Send comments about this topic to Microsoft

Show: