IPrintJob::get_PrintedPages method (printerextension.h)

Gets the number of pages that have been printed.

This property is read-only.

Syntax

HRESULT get_PrintedPages(
  ULONG *pulPages
);

Parameters

pulPages

Defines the ULONG parameter pulPages.

Return value

Returns an HRESULT value.

Remarks

If the PrintedPages and IPrintJob::TotalPages properties are both zero, then page delimiting is not supported for the print job.

Requirements

Requirement Value
Minimum supported client Windows 8.1
Minimum supported server Windows Server 2012 R2
Target Platform Windows
Header printerextension.h

See also

IPrintJob::IPrintJob

TotalPages