Publi PDF ActiveX documentation:

Last revised: 16-01-2009.

WaitAndOpenInViewer (method)

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

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

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

Parameters

object.WaitAndOpenInViewer (sViewerSessionName, sJobTitle, sJobUserName, bHideFileOpen, bHideFilePrint, bPrintSilently, bPrintWithDialog, bSetTopMost)

The WaitAndOpenInViewer syntax has these parts:

Part Description
object Required. An object expression that evaluates to a QueueMonDLL.Application object.
sViewerSessionName [in] Required. String that names the Viewer session in which the converted PDF document is opened.
sJobTitle [in] Required. String that identify a part of the document title as it appear in the Windows print queue.
sJobUserName [in] Required. String that identify which login name the wait session is set-up for.
bHideFileOpen [in] Required. Boolean.
bHideFilePrint [in] Required. Boolean.
bPrintSilently [in] Required. Boolean.
bPrintWithDialog [in] Required. Boolean.
bSetTopMost [in] Required. Boolean.

Return values

Long. Currently the WaitAndOpenInViewer method always returns zero.

Remarks

None.

Example code

N/A.

See also

StartMonitoring, WaitForDocument