IPrintManagerTemplatePrinter::endPrint method

Completes and submits a print job.

Syntax

HRESULT endPrint();

Parameters

This method has no parameters.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

To end (and submit) a print job, the template must explicitly call endPrint.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

IDL

Mshtml.idl

See also

IPrintManagerTemplatePrinter