I can see how that would be helpful, but it's not that hard to keep
track of the information yourself. All you have to do is have a class level
field (or a static field if your print event handler is static) which you
increment each time the function is called (and reset with each new call to
print a new document).