printStatus
Event fired 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:
nextPage
: the next page to be printedfirstPage
: the first page in the print joblastPage
: the last page in the print job
abortPrint
from the
printStatus
event.
VB:
Private Sub pdf_printStatus(nextPage As Long, firstPage As Long, lastPage As Long) Handles pdf.printStatus
If nextPage <= lastPage Then
' about to print "nextPage"
Else
' all done printing
End If
If .... the user pressed the cancel button .... Then
pdf.abortPrint()
End If
End Sub