Publi PDF ActiveX documentation:

Last revised: 16-01-2009.

WaitForDocument (method)

Specify that a QueueMonDLL.Application session is started for the purpose of waiting for a specific document.

When the job arrives into any of the currently running Attended queues it is

The WaitForDocument method must be called before the StartMonitoring function to have effect.

Parameters

object.WaitForDocument (sJobTitle)

The WaitForDocument syntax has these parts:

Part Description
object Required. An object expression that evaluates to a QueueMonDLL.Application object.
sJobTitle [in] Required. String that identify a part of the document title as it appear in the Windows print queue.

Return values

Long. Currently the WaitForDocument method always returns zero.

Remarks

None.

Example code

N/A.

See also

StartMonitoring, WaitAndOpenInViewer