IsSpooling

Description

Checks if spooling is in progress as result of a Print call, or for any downloads outstanding in the queue created by PrintHTML, or BatchPrintPDF calls.

You can force the blocking wait state with WaitForSpoolingComplete to make sure all downloads are complete and spooling is done at any point in your code.

Syntax

isSpooling = printing.IsSpooling()

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

Example