Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
startDoc

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:
© 2015 Microsoft