startDoc method

Uses the current print template to start a print job.

Syntax

var retval = TemplatePrinter.startDoc(bstrTitle);

Parameters

bstrTitle [in]

Type: BSTR

A String that specifies the title of the print job.

Return value

Type: Boolean

Boolean. Returns one of the following values.

Return valueDescription
false

Print job has started.

true

Print job has failed to start.

 

Remarks

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

See also

TemplatePrinter
stopDoc

 

 

Show: