WaitForSpoolingComplete

Description (requires ScriptX v7 or later)

Waits for all pending download and spooling operations originated with Print, PrintHTML and BatchPrintPDF calls to complete. WaitForSpoolingComplete provides visual feedback such as a modal window state and an hourglass cursor.

Do NOT use in server/servce printing scenarios. WaitForSpoolingComplete() calls the Windows message pump and will cause the server thread to block.

Syntax

printing.WaitForSpoolingComplete()

Returns a boolean value indicating whether or not there are still outstanding unspooled downloads to be printed.

Example