printNonNativeFrames method

Sends a non-HTML document, such as a Microsoft Word document, to the printer from a page containing frames.

Syntax

var retval = TemplatePrinter.printNonNativeFrames(pMarkup, p);

Parameters

pMarkup [in]

Type: IUnknown

A document object that specifies the document to be printed.

p [in]

Type: VARIANT_BOOL

A Boolean value that specifies one of the following values:

VARIANT_FALSE (true)

Print the document in the active frame.

VARIANT_TRUE (false)

Print the documents in all frames.

Return value

Type: HRESULT

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