printStatus

Event called periodically while printing.
[event] printStatus([in] int nextPage, [in] int firstPage, [in] int lastPage)
This event is called before each page is spooled, and after the last page is spooled. It is typically used to update a print status dialog or similar.

The event will be called with the following arguments:

VB6:
Private Sub viewer_printStatus(ByVal nextPage As Long, _ ByVal firstPage As Long, ByVal lastPage As Long) If nextPage <= lastPage Then ' about to print [nextPage] Else ' all done printing End If End Sub