Partager via


stopDoc method

Ends the current print job.

Syntax

var retval = TemplatePrinter.stopDoc();

Parameters

This method has no parameters.

Return value

Type: HRESULT

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

Remarks

See the TEMPLATEPRINTER reference page for an example using the stopDoc method.

See also

TemplatePrinter

startDoc